Android Question ACTION_POINTER_DOWN etc

SteveTerrell

Active Member
Licensed User
Longtime User
In an Activity it is possible to use Activity.ACTION_DOWN etc. to compare with MotionEvent actions and avoid having to use the values for those actions.

How can this be done in a class?

Me.ACTION_DOWN does not work

Steve
 

SteveTerrell

Active Member
Licensed User
Longtime User

As usual, thanks for the quick reply.


I now have a different question, but related to your answer.

If I store an instance of a class in a map or list will each stored instance include a set of the above constants (if I use the Private int approach)?


Steve
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…