Items On Listview In Widget Doesn't Display [android]
I create a ListView in my widget and getting the result from a web service. I don't have any problem in getting the result from the web service but the result is not displaying on
Solution 1:
did you added adapter.notifyDataSetChanged()
?
Solution 2:
I solve this by following the answer here I found out that my getCount
always returns 0 and therefore instead of using AsyncTask
I put my web service call in onDataSetChanged()
.
Post a Comment for "Items On Listview In Widget Doesn't Display [android]"