notifyDataSetChanged example

后端 未结 5 920
再見小時候
再見小時候 2020-11-21 07:28

I\'m trying to use in my Android Application the notifyDataSetChanged() method for an ArrayAdapter but it doesn\'t work for me.

5条回答
  •  北恋
    北恋 (楼主)
    2020-11-21 08:05

    I recently wrote on this topic, though this post it old, I thought it will be helpful to someone who wants to know how to implement BaseAdapter.notifyDataSetChanged() step by step and in a correct way.

    Please follow How to correctly implement BaseAdapter.notifyDataSetChanged() in Android or the newer blog BaseAdapter.notifyDataSetChanged().

提交回复
热议问题