-
public final class BooleanLiveDataExtensionsKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static BooleanbooleanValue
-
Method Summary
Modifier and Type Method Description final BooleangetBooleanValue()final static Unitswitch(MutableLiveData<Boolean> $self)final static UnitbindEnable(MutableLiveData<Boolean> $self, LifecycleOwner owner, View view)final static UnitbindVisible(LiveData<Boolean> $self, LifecycleOwner owner, View view)final static UnitbindVisible(LiveData<Boolean> $self, LifecycleOwner owner, View views)final static UnitbindVisibleOrInvisible(LiveData<Boolean> $self, LifecycleOwner owner, View view)final static UnitbindOnTrue(LiveData<Boolean> $self, LifecycleOwner owner, Function0<Unit> onChange)-
-
Method Detail
-
getBooleanValue
final Boolean getBooleanValue()
-
switch
final static Unit switch(MutableLiveData<Boolean> $self)
-
bindEnable
final static Unit bindEnable(MutableLiveData<Boolean> $self, LifecycleOwner owner, View view)
-
bindVisible
final static Unit bindVisible(LiveData<Boolean> $self, LifecycleOwner owner, View view)
-
bindVisible
final static Unit bindVisible(LiveData<Boolean> $self, LifecycleOwner owner, View views)
-
bindVisibleOrInvisible
final static Unit bindVisibleOrInvisible(LiveData<Boolean> $self, LifecycleOwner owner, View view)
-
bindOnTrue
final static Unit bindOnTrue(LiveData<Boolean> $self, LifecycleOwner owner, Function0<Unit> onChange)
-
-
-
-