Android Question mLastTouchDownY variable

moster67

Expert
Licensed User
Longtime User
I don't think you can use JavaObject here since the field is not exposed in the ViewGroup API.
You will need to use reflection, something similar to this:

B4X:
Dim obj1 As Reflector
obj1.Target = Panel1
Log(obj1.GetField("mLastTouchDownY"))
Log(obj1.GetField("mOldHeightMeasureSpec"))
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…