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. The connection to adb is down

Hi all,

Today when I started my eclipse and try to run the application then I
got following error.
[2010-12-07 12:17:14 - ListViewA] The connection to adb is down, and a
severe error has occured.
[2010-12-07 12:17:14 - ListViewA] You must restart adb and Eclipse.
[2010-12-07 12:17:14 - ListViewA] Please ensure that adb is correctly
located at 'D:\AndroidSetup\android-sdk-windows\tools\adb.exe' and can
be executed.

when i check D:\AndroidSetup\android-sdk-windows\tools\ then there is
no adb tool file.

I try to search it on google but still my problem is not solved.
Somebody know how to solve this issue?
Thanks in advance


2. Specs say High Resolution Application Icon has alpha, it doesn't

There is an updated post titled "Graphic Assets for your Application"

for the hi-res app icon it says:

Specs: 512x512, 32-bit PNG with alpha; Max size of 1024KB.

But the Market console says (no alpha) and the preview does not show
the alpha, so what is it?


3. Android market (High res) icon

4. ADT 8 doesn't include ADB??

5. Booting Android

6. How to which function is calling a function at runtime?

7. Is there any android expert from Google or any other company?