That's not what a datasetobserver does, and I suspect that trying to figure
out when there's a pause between invocations of getView() is not going to
work quite right either.
What are you trying to achieve?


2009/4/28 [email protected] <[email protected]>

>
> Anybody?
>
> On 28 апр, 00:26, "[email protected]" <[email protected]> wrote:
> > Hi everyone!
> > I have an BaseAdapter and  I need to know when it stops to change data
> > ( eg View getView(int position, View convertView, ViewGroup parent) is
> > no more calling ).
> > I tried to use registerDataSetObserver method of the Adapter:
> >     public class DataObserver extends DataSetObserver
> >     {
> >         @Override
> >         public void onChanged()
> >         {
> >                 /*
> >                             do smth
> >                         */
> >         }
> >     }
> >
> > private DataObserver mObserver;
> > private BaseAdapter mAdapter;
> >
> > mObserver = new DataObserver();
> > mAdapter.registerDataSetObserver(mObserver);
> >
> > But it seems to be not working. Any ideas?
> >
>

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