-
Notifications
You must be signed in to change notification settings - Fork 192
Layout Builder Callback
Aditya Sharat edited this page Jan 19, 2017
·
2 revisions
There are 3 event types OnClick
, OnLongClick
, OnTouch
. When any of the former events are triggered on a view where onClick
is set to a JsonElement
the onEvent
callback will be invoked, with the ProteusView
which consumed the event, the set JsonElement
and the triggered EventType
. Checkout the demo app and click on views with onClick
set on them and check the adb logs.