How do I keep track of the position of a UI element, say a TableLayout
?
What I mean by this is, whenever its position changes, there is some kind of event handler gets called and then inside the event handler code I can get the coordinate of this TableLayout (maybe the coordinates of its upper left corner)
A sample code will be appreciated!
Thanks