android - Get View from the OnTouch Method from superClass when define Views Programmatically -
i have superclass "central" button , ontouchlistener(view v, motionevent event) method. "lay1" activity subclass of "central" , use addview() make appear button on layout. addview() works fine obtain 0 value when try v.getx() or v methods. know activity can't "see" "v" because implemented , when call v, not exists. need @override method give-me "v" don't know place that. thank helping
Comments
Post a Comment