public final class ViewActions
extends java.lang.Object
Views.| Modifier and Type | Method and Description |
|---|---|
static rx.functions.Action1<? super java.lang.Boolean> |
setActivated(android.view.View view)
Set whether a view is activated based on
boolean values that are emitted by an
Observable. |
static rx.functions.Action1<? super java.lang.Boolean> |
setClickable(android.view.View view)
Set whether a view is clickable based on
boolean values that are emitted by an
Observable. |
static rx.functions.Action1<? super java.lang.Boolean> |
setEnabled(android.view.View view)
Set whether a view is enabled based on
boolean values that are emitted by an
Observable. |
static rx.functions.Action1<? super java.lang.Boolean> |
setFocusable(android.view.View view)
Set whether a view is focusable based on
boolean values that are emitted by an
Observable. |
static rx.functions.Action1<? super java.lang.Boolean> |
setSelected(android.view.View view)
Set whether a view is selected based on
boolean values that are emitted by an
Observable. |
static rx.functions.Action1<? super java.lang.Boolean> |
setVisibility(android.view.View view)
Set the visibility of a view based on
boolean values that are emitted by an
Observable. |
static rx.functions.Action1<? super java.lang.Boolean> |
setVisibility(android.view.View view,
int visibilityOnFalse)
Set the visibility of a view based on
boolean values that are emitted by an
Observable. |
public static rx.functions.Action1<? super java.lang.Boolean> setEnabled(android.view.View view)
boolean values that are emitted by an
Observable.view - to modifyAction1 that sets the enabled of a view when boolean values are emitted.public static rx.functions.Action1<? super java.lang.Boolean> setActivated(android.view.View view)
boolean values that are emitted by an
Observable.view - to modifyAction1 that sets the activated of a view when boolean values are emitted.public static rx.functions.Action1<? super java.lang.Boolean> setClickable(android.view.View view)
boolean values that are emitted by an
Observable.view - to modifyAction1 that sets the clickable of a view when boolean values are emitted.public static rx.functions.Action1<? super java.lang.Boolean> setFocusable(android.view.View view)
boolean values that are emitted by an
Observable.view - to modifyAction1 that sets the focusable of a view when boolean values are emitted.public static rx.functions.Action1<? super java.lang.Boolean> setSelected(android.view.View view)
boolean values that are emitted by an
Observable.view - to modifyAction1 that sets the selected of a view when boolean values are emitted.public static rx.functions.Action1<? super java.lang.Boolean> setVisibility(android.view.View view)
boolean values that are emitted by an
Observable. When false is emitted, visibility is set to View.GONE.view - to modifyAction1 that sets the visibility of a view when boolean values are emitted.public static rx.functions.Action1<? super java.lang.Boolean> setVisibility(android.view.View view,
int visibilityOnFalse)
boolean values that are emitted by an
Observable.view - to modifyvisibilityOnFalse - value to use on View.setVisibility(int) when a false is emitted by
the ObservableAction1 that sets the visibility of a view when boolean values are emitted.