Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to implement OnGestureListener?

 
manish ghildiyal
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working on a game based exactly on same architecture as used in SuperJumper game of book 'Beginning Android Games'.
I want to have swipe functionality. So I have implemented OnGestureListener.
So I have put the OnGestureListener instance in AndroidInput just like we have for TouchHandler.
But onFling() is not getting called.


Where am I going wrong?
Please advise.

I have also posted same query on forum for Badlogic games(http://badlogicgames.com/forum/viewtopic.php?f=21&t=11603).

Manish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic