Basically, for example if you refreshing list on buttonclick then you can
simply use adapter1.notifyDatasetChanged();
You can refer to this to understand the use of notifyDatasetChanged()
http://stackoverflow.com/questions/3669325/notifydatasetchanged-example

On Thu, Apr 5, 2012 at 4:48 PM, ramalakshmi <[email protected]>wrote:

>
> Yes I am using my own custom adapter and te code is
>                ListAdapter adapter1 = new SimpleAdapter(Main.this,
> mylist1 , R.layout.main,
>                            new String[] { "Symbol", "Bid", "Ask" },
>                            new int[] { R.id.item_title,
> R.id.item_title1, R.id.item_title2 });
>                 setListAdapter(adapter1);
> can you please tell me how can I use notifyDatasetChanged() method
>
> --
> 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
>

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