just need refresh list
Best Regards

Eric Chan


On Wed, Mar 4, 2009 at 4:45 PM, Romain Guy <romain...@google.com> wrote:

>
> It will work :)
>
> On Wed, Mar 4, 2009 at 12:39 AM, olko <y.olkho...@gmail.com> wrote:
> >
> > I am trying to change ListView adapter on the  fly like this (the
> > AdapterMain* extends BaseAdapter):
> >
> >                                if(main_view) {
> >                                        setListAdapter(new
> AdapterMain(app_context));
> >                                }
> >                                else {
> >                                        setListAdapter(new
> AdapterMainDetails(app_context));
> >                                }
> >
> > Should I do other things or this would be enough?
> > >
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to