i'am having the same problem with the gallery when calling
notifyDataSetChanged()

i'am using android 1.6

On Jan 25, 7:02 pm, Dheeraj <[email protected]> wrote:
> Hello guys,
>
> I need help from android experts on my problem.
> The problem is that notifyDataSetChanged() is not firing up getView()
> of listView class.
>
> I have an activity class in which i have Gallery Adapter and custom
> List Adapter (extending base class and overriding getView).
> What i want is, if i select any picture from gallery then, the list
> should get updated (dont worry about the data source now, as i am
> using static images for gallery and static string array for listview).
> After getting onClickevent from gallery i am calling
> notifyDataSetChanged via listView Adapter Context so that getView of
> listView should be called and i can supply another static string array
> to change the list,  but getView of listView is not being called.
>
> If i call notifyDataSetChanged from onClickEvent of listview, then
> getView of listView is being called.
>
> Please experts , let me know how shall we use notifyDatasetChanged to
> update the listview using event from another adapter.
>
>  Thanks in advance
>  Dheeraj

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