mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Fixed selecting search suggestion
This commit is contained in:
parent
c9401f61c7
commit
c27d170ab4
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue