wood burning stoves*
The moose likes Android and the fly likes Scrolling and drawing at the same time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Scrolling and drawing at the same time" Watch "Scrolling and drawing at the same time" New topic
Author

Scrolling and drawing at the same time

Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1473
    
    6

Is it possible to draw a line and scroll on the canvas at the same time? Let me highlight my requirement bit more. onTouchEvent I am drawing lines based on the retrieved coordinates. Now what I want is if it exceeds the screen dimension a scroll bar appears and I can draw further. Is it possible to handle two events at the same time scroll and draw?


Swastik
 
jQuery in Action, 2nd edition
 
subject: Scrolling and drawing at the same time