public final class ViewCollections
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends android.view.View> |
run(java.util.List<T> list,
Action<? super T>... actions)
Apply the specified
actions across the list of views. |
static <T extends android.view.View> |
run(java.util.List<T> list,
Action<? super T> action)
Apply the specified
action across the list of views. |
static <T extends android.view.View> |
run(T[] array,
Action<? super T>... actions)
Apply the specified
actions across the array of views. |
static <T extends android.view.View> |
run(T[] array,
Action<? super T> action)
Apply the specified
action across the array of views. |
static <T extends android.view.View> |
run(T view,
Action<? super T>... actions)
Apply
actions to view. |
static <T extends android.view.View> |
run(T view,
Action<? super T> action)
Apply
action to view. |
static <T extends android.view.View,V> |
set(java.util.List<T> list,
android.util.Property<? super T,V> setter,
V value)
Apply the specified
value across the list of views using the property. |
static <T extends android.view.View,V> |
set(java.util.List<T> list,
Setter<? super T,V> setter,
V value)
Set the
value using the specified setter across the list of views. |
static <T extends android.view.View,V> |
set(T[] array,
android.util.Property<? super T,V> setter,
V value)
Apply the specified
value across the array of views using the property. |
static <T extends android.view.View,V> |
set(T[] array,
Setter<? super T,V> setter,
V value)
Set the
value using the specified setter across the array of views. |
static <T extends android.view.View,V> |
set(T view,
android.util.Property<? super T,V> setter,
V value)
Apply
value to view using property. |
static <T extends android.view.View,V> |
set(T view,
Setter<? super T,V> setter,
V value)
Set
value on view using setter. |
@SafeVarargs
public static <T extends android.view.View> void run(java.util.List<T> list,
Action<? super T>... actions)
actions across the list of views.@SafeVarargs
public static <T extends android.view.View> void run(T[] array,
Action<? super T>... actions)
actions across the array of views.public static <T extends android.view.View> void run(java.util.List<T> list,
Action<? super T> action)
action across the list of views.public static <T extends android.view.View> void run(T[] array,
Action<? super T> action)
action across the array of views.@SafeVarargs
public static <T extends android.view.View> void run(T view,
Action<? super T>... actions)
actions to view.public static <T extends android.view.View> void run(T view,
Action<? super T> action)
action to view.public static <T extends android.view.View,V> void set(java.util.List<T> list,
Setter<? super T,V> setter,
V value)
value using the specified setter across the list of views.public static <T extends android.view.View,V> void set(T[] array,
Setter<? super T,V> setter,
V value)
value using the specified setter across the array of views.public static <T extends android.view.View,V> void set(T view,
Setter<? super T,V> setter,
V value)
value on view using setter.public static <T extends android.view.View,V> void set(java.util.List<T> list,
android.util.Property<? super T,V> setter,
V value)
value across the list of views using the property.public static <T extends android.view.View,V> void set(T[] array,
android.util.Property<? super T,V> setter,
V value)
value across the array of views using the property.public static <T extends android.view.View,V> void set(T view,
android.util.Property<? super T,V> setter,
V value)
value to view using property.