Observer for Adaper

by » Tue, 28 Apr 2009 05:26:37 GMT

Sponsored Links
 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
        public void onChanged()
                            do smth

private DataObserver mObserver;
private BaseAdapter mAdapter;

mObserver = new DataObserver();

But it seems to be not working. Any ideas?

Observer for Adaper

by » Wed, 29 Apr 2009 05:04:26 GMT



Sponsored Links

Observer for Adaper

by Marco Nelissen » Wed, 29 Apr 2009 05:11:19 GMT

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


Other Threads

1. Samsung Galaxy Tab "Verizon" Update, But No Honeycomb

Wah Samsung Galaxy Tab dapet update lagi nih

Sumber :


2. Email di android

Selamat siang suhu2, mohon petunjuk apabila kita mempunyai bnyk account email 
dan untuk mengordinir biar jd 1 folder, cukup pake folder mail dr android atau 
pake applikasi apa ya? Apakah sprt K9 mail? Atau ada yg lebih bagus?

Trima kasih,
Sent from my BlackBerry smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!


3. Nubie tanya aplikasi bayar

4. Bluetooth pairing with Android 2.3 and using insecure RFCOMM sockets

5. How to install an app on android phone by using eclipse

6. Programatically unchecking items in a dialog

7. Regarding Video Audio Problem...