why my onScrollStateChanged(AbsListView view, int scrollState) effetct nothing

by Smith » Tue, 23 Mar 2010 01:48:39 GMT


Sponsored Links
 I use ListActivity , and implements OnScrollListener, and have my code
just like below
@Override
public void onScroll(AbsListView view, int firstVisibleItem, int
visibleItemCount, int totalItemCount) {
        Log.d(TAG,"onScroll");
        Toast.makeText(this, totalItemCount+"", Toast.LENGTH_SHORT).show();
}

@Override
public void onScrollStateChanged(AbsListView view, int scrollState) {
        Log.d(TAG,"onScrollStateChanged");
        Toast.makeText(this, "onScrollStateChanged",
Toast.LENGTH_SHORT).show();
}

every time I scroll the listview, and ddms output  "onScroll"
right .but when I scroll to the end and still scroll. It seems the
ddms should ouput onScrollStateChanged and have a toast, but it
doesn't. why?


--



Other Threads

1. Cara Mengaktifkan EVDO di Galaxy Tab CDMA Sprint

Minimal kasih clue gitu lah... hehehe...

Biar nanti Saya coba cari sendiri :)





-- 
===============

2. Hacker taklukkan bb torch dan iphone 4

http://tekno.kompas.com/read/2011/03/15/02505699/Hacker.Taklukkan.BlackBerry.Torch.dan.iPhone.4

-- 
===============

3. Defy problem

4. ddms

5. Android Emulator 2.2 crashes often on Windows XP

6. Problem getting the MD5 Fingerprint

7. Exclusive Anime Themes