is this even stable ?
i was going with what docs say's
until i rached this
Binding Events Events may be bound to handler methods directly, similar to the way android:onClick can be assigned to a method in the Activity. Event attribute names are governed by the name of the listener method with a few exceptions. For example, View.OnLongClickListener has a method onLongClick(), so the attribute for this event is android:onLongClick.
To assign an event to its handler, use a normal binding expression, with the value being the method name to call. For example, if your data object has two methods:
public class MyHandlers { public void onClickFriend(View view) { ... } public void onClickEnemy(View view) { ... } } The binding expression can assign the click listener for a View:
'' ' '
first i found that the docs created a class called MyHandlers but in the layout used com.example.Handlers no probelm i changed it to com.example.MyHandlers
after that i hit on the text view and the onclick method has not been called !!
maybe we need to wait a little bit