Fixed selecting search suggestion

pull/178/head
M66B 5 years ago
parent c9401f61c7
commit c27d170ab4

@ -79,6 +79,13 @@ public class FragmentDialogSearch extends FragmentDialogBase {
}
});
adapter.setCursorToStringConverter(new SimpleCursorAdapter.CursorToStringConverter() {
@Override
public CharSequence convertToString(Cursor cursor) {
return cursor.getString(cursor.getColumnIndex("suggestion"));
}
});
etQuery.setAdapter(adapter);
ibInfo.setOnClickListener(new View.OnClickListener() {

Loading…
Cancel
Save