On Jun 16, 11:07 am, Christophe <[email protected]>
wrote:
> hello everyone,
>
> I have a strange problem with one of my ListActivity. I have overrided
> the default ArrayAdapter in order to customize my list. I have then
> filled the adapter with an ArrayList.
>
> If I insert an element on the list and then call
> notifyDataSetChanged() on the adapter everything works fine.
>
> But if I insert an element at the END of the list and then call
> notifyDataSetChanged(), the new element doesn't  appear ...
>
> And finally if I override getCount() on my adapter like this :
>
> @Override
> public int getCount() {
>         return myArrayList.size();
>
> }
>

what's myArrayList and how do you append items to your ArrayAdapter?

pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to