on search getting array out of index bound exception

前端 未结 2 449
既然无缘
既然无缘 2021-01-27 04:52

i have an app in which i am displaying data from json into listview,and now want to apply searching functionality on the listview.but whenever i typing something in the editbox

2条回答
  •  情话喂你
    2021-01-27 05:20

    Why are you apply the toString method here:

    adapter.getFilter().filter(s.toString());
    

    When the filtering method seems to need chars:

    performFiltering(CharSequence constraint)
    

提交回复
热议问题