> Refresh the list how?

adapter.notifyDataSetChanged();

You notify the adapter the data has changed and therefore should
redraw itself.

> Also, what's the point of the Container class? AFAICT, it's completely
> redundant and unnecessary.

Its so you can keep a reference to the views within the list item and
so you don't have to call findViewById each time

On Apr 8, 4:37 pm, "~ TreKing" <treking...@gmail.com> wrote:
> On Thu, Apr 8, 2010 at 4:42 AM, Binesy <ross.bi...@gmail.com> wrote:
> > 3 is printed correctly, then i refresh the list.
>
> Refresh the list how?
> Also, what's the point of the Container class? AFAICT, it's completely
> redundant and unnecessary.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to