Well i still can't refresh my listview, here is the code

@Override

*protected* *void* onCreate(Bundle savedInstanceState) {

......

eventAdapter=*new* EventAdapter(ListData,*this*);

eventAdapter.addListener(*this*);

eventAdapter.notifyDataSetChanged();

list.setAdapter(eventAdapter);

......

}
 I want to say that my activity doesn't extend listActivity,and  ListData is
a list that i get from a previous activity.Is that smth wrong with what i
did?

Thx




2010/5/26 TreKing <[email protected]>

>  On Wed, May 26, 2010 at 4:47 AM, Lamia Hannoun 
> <[email protected]>wrote:
>
>> Maybe becuz my activity that contains listview doesn't extend
>> ListActivity, the listview is just a content of my simple activity,
>
>
> This shouldn't make a difference - in any activity the ListView is backed
> by some adapter, which is used to update the ListView.
>
>
>> How can i refresh it ??
>
>
> Exactly as I said before. If that's not working, you're doing something
> else wrong.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered devices
> http://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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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