notifyDataSetChanged() on my adapter does not update the listview, why?

前端 未结 3 1602
迷失自我
迷失自我 2021-01-24 03:53

I have a activity that extends listactivity, extended in this class i have a class that extends baseadapter.

now in my listactivity i have this onCreate

         


        
3条回答
  •  悲&欢浪女
    2021-01-24 04:38

    The only place you can update the UI is in onProgressUpdate(...);. From your doInBackground(...), call publishProgress(...).

提交回复
热议问题