public final class RxToolbar
extends java.lang.Object
Toolbar.| Modifier and Type | Method and Description |
|---|---|
static <any> |
itemClicks(android.widget.Toolbar view)
Create an observable which emits the clicked item in
view's menu. |
static <any> |
navigationClicks(android.widget.Toolbar view)
Create an observable which emits on
view navigation click events. |
static <any> |
subtitle(android.widget.Toolbar view)
An action which sets the subtitle property of
view with character sequences. |
static <any> |
subtitleRes(android.widget.Toolbar view)
An action which sets the subtitle property of
view string resource IDs. |
static <any> |
title(android.widget.Toolbar view)
An action which sets the title property of
view with character sequences. |
static <any> |
titleRes(android.widget.Toolbar view)
An action which sets the title property of
view string resource IDs. |
public static <any> itemClicks(android.widget.Toolbar view)
view's menu.
Warning: The created observable keeps a strong reference to view. Unsubscribe
to free this reference.
public static <any> navigationClicks(android.widget.Toolbar view)
view navigation click events. The emitted value is
unspecified and should only be used as notification.
Warning: The created observable keeps a strong reference to view. Unsubscribe
to free this reference.
Warning: The created observable uses Toolbar.setNavigationOnClickListener(android.view.View.OnClickListener)
to observe clicks. Only one observable can be used for a view at a time.
public static <any> title(android.widget.Toolbar view)
view with character sequences.
Warning: The created observable keeps a strong reference to view. Unsubscribe
to free this reference.
public static <any> titleRes(android.widget.Toolbar view)
view string resource IDs.
Warning: The created observable keeps a strong reference to view. Unsubscribe
to free this reference.
public static <any> subtitle(android.widget.Toolbar view)
view with character sequences.
Warning: The created observable keeps a strong reference to view. Unsubscribe
to free this reference.
public static <any> subtitleRes(android.widget.Toolbar view)
view string resource IDs.
Warning: The created observable keeps a strong reference to view. Unsubscribe
to free this reference.