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. OOT: Kang Onno

Kang Onno W Purbo,

Semoga  jadi Menkominfo :-)  buat infrastruktur internet sampai ke
Desa dan pedalaman. Informasi milik semua!




-- 
Salam Android,

Agus Hamonangan
agus.hamonan...@gmail.com


2. debugging parcel.cpp file

Hi All,
           i'm trying to port android on my big endian platform , and
m getting issues in IPC communication bider . object written by one
procees coudnt be read by another process it is coming null at the
other side , but to debug this problem if i put print in parcel.cpp
whole system
is crashing , so i cant put print in binder or parcel file. does
anybody know how to get info logs from threse two file.???????
also the data written in parcel follows host system' s endian order ,
as i compiled my source code on x86 system ,where  Byte order is
little endian so anybody having any idea where to specify correct byte
order in order to have IPC running on my big endian system.

Regards,
Dhananjay
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Trouble in Printing Unicode Male Character

4. Secure Credentials settings in Donut

5. Saving calculator result problem

6. radio buttons and editText fields

7. Poor performance on my file loader (code optimization help!)