ListView sometimes not calling onScrollStateChanged() when stop scrolling

by Mark Carter » Sat, 26 Mar 2011 12:38:11 GMT


Sponsored Links
 Normally this works fine - when scrolling stops, onScrollStateChanged() is 
called with SCROLL_STATE_IDLE.

However, sometimes it just isn't called. This can be observed from one touch 
to the next (i.e. it's not an implementation detail).

This is a problem, because I use the scroll state to determine when to 
pause/resume intensive background thread work.

Anyone got a workaround?

-- 



Other Threads

1. Strange that it doesn't ask for permission

Hi

I am a little surprised to see that an app in which I included a
RECIEVE SMS permission, it asks me for that permission, i've also
included android.permission.DIAGNOSTIC in the same app, but it doesn't
ask for anything.

the biggest stunner is if i have only android.permission.DIAGNOSTIC,
it says --- allow this application to : <No permissions>, means it is
not even bothered about the fact that i am getting this permission

this happens when i install my app from internet in emulator.

i wonder -- is it bcoz the system considers this permission
unimportant or is it just that i don't even get this permission. or is
it that this permission is not allowed for any app

please help

thanks and regards
ashish

2. Android as a Universal Remote for CE/HA?

I was wondering if there's any good Universal Remote software for CE &or 
HA being developed in the Android ecosystem?
Does anyone know of anything under way or a related Linux project that 
could be re-adapted for Android?

I have something "roughly" like this visualised... (see attached txt file)

I have an old Axim X50v which android is being ported to atm...
But progress is slow so I may have to find a better supported device soon.

Any thoughts/ideas/advice greatly appreciated!

Cheers,
Jed

--~--~---------~--~----~------------~-------~--~----~

3. UrgentHelp:Play Video file when accelerometer is triggered code error:

4. Integrating Audio decoder with OpenCore.

5. detecting a call state from a service.

6. how to know an media url is a video or audio

7. HttpClient and httpParams not working