android ProgressBar updateing during download

后端 未结 1 1015
一向
一向 2021-01-24 10:17

in my file download app there is ListView that each row contain properties file and one ProgressBar for downloading status of it and i work with View Holder pattern but progress

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-24 11:01

    Try to call notifyDataSetChanged :

            protected void onPostExecute(Boolean result) {
                ...
                myListView.notifyDataSetChanged(); //or simply notifyDataSetChanged if your Async inside adapter
            }
    

    0 讨论(0)
提交回复
热议问题