mercredi 3 juin 2015

Android refresh listView contents [duplicate]

This question already has an answer here:

I am using a ListView to display entried from a database. When the user changes text in a edittext, I query the db to find similar entries and display them in a listview. I am currently deleting the entire ListView abd the adapter and recreating it to display the entries. The problem is I'm experiencing huge lag when doing this. There has to be any other way to do this. Can someone point me into the right direction?

Aucun commentaire:

Enregistrer un commentaire