Diffrence of SimpleOnGestureListener and OnGestureListener

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Diffrence of SimpleOnGestureListener and OnGestureListener

Postby ShareTung » Sun Dec 13, 2009 8:52 am

Hi,
I have a question to ask.
What is the Diffrence of SimpleOnGestureListener and OnGestureListener.
http://developer.android.com/reference/ ... tener.html
http://developer.android.com/reference/ ... tener.html

It said that SimpleOnGestureListener is subset of OnGestureListener but why SimpleOnGestureListener has more method that OnGestureListener.

If I just want to detect the gesture of up, down, left, right which one should I use.
ShareTung
Freshman
Freshman
 
Posts: 4
Joined: Sun Sep 06, 2009 2:32 pm

Top

Postby qlimax » Sun Dec 13, 2009 12:05 pm

OnGestureListener is an interface
http://www.java-examples.com/java-interface-example

SimpleOnGestureListener is a class that implements OnGestureListener

:cry: :cry: :cry:
¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Postby ShareTung » Sun Dec 13, 2009 2:55 pm

Oh, thank you very much...It's my fault for not looking carefully.
ShareTung
Freshman
Freshman
 
Posts: 4
Joined: Sun Sep 06, 2009 2:32 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests