Public Member Functions | |
| Widget (String tag) | |
| String | getTag () |
| Returns tag of the widget given in constructor. More... | |
| void | setOnSidebarActionListener (OnSidebarActionListener listener) |
| Register a callback to be invoked when an action happens on this widget. More... | |
| void | invokeOnSidebarActionCallback (int action, Bundle extras) |
| This method shouldn't be called manually! More... | |
| Widget | ( | String | tag | ) |
| tag | identifier of the Widget. |
| IllegalArgumentException | if tag is null or empty |
| String getTag | ( | ) |
Returns tag of the widget given in constructor.
Referenced by Sidebar.setWidget().
| void invokeOnSidebarActionCallback | ( | int | action, |
| Bundle | extras | ||
| ) |
This method shouldn't be called manually!
References OnSidebarActionListener.onSidebarAction().
| void setOnSidebarActionListener | ( | OnSidebarActionListener | listener | ) |
Register a callback to be invoked when an action happens on this widget.
| listener | the callback that will run |