Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scrolling and drawing at the same time

 
Swastik Dey
Rancher
Posts: 1604
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic