I m using the base adapter with listview
to display students picture with their name in my project. It's OK. But after that, I am using a Handler to update the picture dynamically when a student changes the picture from their apps. it is not working as desired.
The base adapter is getting data (ArrayList
) from local SQLite DB and the SQLite is getting data from the server by AsyncTask in the handler. The first time it's displaying all the student's image and name very well but image update dynamically not working.
I am using notifyDataSetChanged
method whenever the adapter's underlying data changes. I've tried SimpleAdapter
, ArrayAdapter
also but the problem persists. what should I do???