New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timer never fires under certain circumstances #5
Comments
Dan, thanks for the report and suggested changes. Can you tell me more about the Android version(s) and device model(s) which display this behavior? |
Nexus7 Tablet 4.1.1 I am not sure if it is specific to the particular overlays that I am using? Actually I have the MyCurrentLocation to display the current users location so maybe that is the cause! |
I have the MyLocationOverlay to display the current users location and when it is visible on the map the timer isn't always firing when panning/zooming , |
@filipebatista Did you use the provided APK from the release folder to test on the Galaxy S3? Usually that is the best way to determine if the original code does not work, or if something in your program may be interfering with the original the code. |
I found that computeScroll is indefinitely called under certain circumstances particularly when zoomed out, which means that the timer always is reset and never fires. So I needed to modify your computeScroll() method to check how many times it had been called and only reset it if it is under a specific limit.
then you need to reset the computeScrollCount=0 when the Timer fires.
The text was updated successfully, but these errors were encountered: