ListView does not update until keyboard is hidden

后端 未结 3 1017
名媛妹妹
名媛妹妹 2021-02-20 10:09

I have a DialogFragment and in it\'s layout I have a EditText and a ListView. The Listview basically shows the list of contacts (Initially

3条回答
  •  遥遥无期
    2021-02-20 10:20

    Try delete all emailContacts.clear();. Then add emailContacts.clear(); just before emailContacts.addAll(commonMethods.getEmailContacts(appContext, textValue));. You are appending your list for every letter your typed.

提交回复
热议问题