I want to develop a datafield similar to Bontrager Light Control, but I don't know how its layout was developed.
I have been researching for a few days, but this datafield can't push or pop view, can't new WatchUi.View in getInitialView(), can't use Button, and WatchUi.BehaviorDelegate just respond onTap event. So I want to know how to develop can be like Bontrager Light Control.
First Q : Why the first page can change a new page when the light is connected ?
Second Q : Is the layout of the second picture a datafield?
Third Q : How create button if the layout of the second picture is datafield ?
Fourth Q : How to respond to click events if the layout of the second picture is datafield ?
Thank you for your help.