How Android BaseAdapter notifyDataSetChanged works?

Posted by Yama moto on Stack Overflow See other posts from Stack Overflow or by Yama moto
Published on 2012-09-09T09:35:21Z Indexed on 2012/09/09 9:37 UTC
Read the original article Hit count: 331

Filed under:
|
|
|
|

In the document for the method notifyDataSetChanged of class BaseAdapter noted that "Notifies the attached observers that the underlying data has been changed and any View reflecting the data set should refresh itself. "

Supposed I changed the 3rd element in my string array (array data for the listview), what "any View reflecting the data set should refresh itself" means ? Does the 3rd view item in my list view be notified ?

Also, how is notifyDataSetChanged() and getView() concerned ?

Thanks in advance

© Stack Overflow or respective owner

Related posts about android

Related posts about listview