Android : Search from Large Arraylist

前端 未结 4 1856
轮回少年
轮回少年 2020-12-03 09:18

I have a recordset of about 29,000 records. My Screen contains EditText Box for Search Criteria and Listview containing all 29,000 records.

By searching with the lis

4条回答
  •  我在风中等你
    2020-12-03 09:47

    You can use HashSet or LinkedHashSet(keeps insertion order) for fast searching. With contains() method of that classes.

提交回复
热议问题