This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scrolling and drawing at the same time

 
Swastik Dey
Rancher
Posts: 1601
5
Android Java Java ME
  • 0
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic