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. Can we access windows partition through android?

Only if your Windows host provides a service (presumably socket-based)
and code on the Android device knows how to talk it into doing its
bidding. You would have to write both halves of that solution.




-- 

2. How to change output from file to stream over internet

Normally, In MediaRecorder. When I call method start() the android begins
capturing and encoding data to the file specified with setOutputFile().

I would like to set new output as streaming ( Byte[] use UDP )  but I don't
know to begin.

Please help me.

Thanks.

-- 

3. Can't kill the running process when exception through

4. How to use customview with home screen ?

5. Setting up VPN

6. Problem with SimpleCursorAdapter

7. WindowsCare Memory Improve Ultimate v5.2.1.220 WORKING-Lz0