I'm trying to implement an animated panning on an image, just like what we have in google map. I have one image loaded in an ImageView view, this image is zoomed in an panned to a specific area using a transform matrix.
When the screen is touch, the image follows the finger movement, and when you release your finger, the image should keep following its movement and slow down un til it stops.
But the problem is when I move the image in an OnTouchListener, I get the satisfying moving result on my android screen, but when I try to perform the same move, using the same implementation in a callback called from a timertask run method, the ImageView screen is then stuck, and I have to reload the ImageView bitmap to have it working again.
It seems that there is some problem when calling ImageView methods within a TimerTask...