-
- All Implemented Interfaces:
-
dev.teogor.ceres.components.app.BaseCommon,dev.teogor.ceres.core.logger.Logger
public final class NavigationViewModel extends BaseViewModel
-
-
Field Summary
Fields Modifier and Type Field Description private final SingleLiveEvent<Boolean>onActionButtonClickedprivate final SingleLiveEvent<Boolean>onRefreshprivate final MutableLiveData<ToolbarViewData>toolbarViewDataprivate final MutableLiveData<Boolean>showBottomNavigationprivate final SingleLiveEvent<NavDirections>navigateprivate final SingleLiveEvent<Boolean>onBackPressedprivate final SingleLiveEvent<Boolean>onThemeChangedprivate final SingleLiveEvent<UiEvent>uiEventStreamprivate final Resourcesresources
-
Constructor Summary
Constructors Constructor Description NavigationViewModel()
-
Method Summary
Modifier and Type Method Description final SingleLiveEvent<Boolean>getOnActionButtonClicked()final SingleLiveEvent<Boolean>getOnRefresh()final MutableLiveData<ToolbarViewData>getToolbarViewData()UI Binding final MutableLiveData<Boolean>getShowBottomNavigation()final SingleLiveEvent<NavDirections>getNavigate()Activity Observables final SingleLiveEvent<Boolean>getOnBackPressed()final SingleLiveEvent<Boolean>getOnThemeChanged()final SingleLiveEvent<UiEvent>getUiEventStream()final ResourcesgetResources()-
Methods inherited from class dev.teogor.ceres.components.navigation.NavigationViewModel
onActivityCreated, onFragmentCreated, onRefresh, setToolbarTitle, setToolbarType, showBottomNavigation -
Methods inherited from class dev.teogor.ceres.components.app.BaseViewModel
addCloseable, clear, getTag, onCleared, setTagIfAbsent -
Methods inherited from class dev.teogor.ceres.components.app.BaseCommon
log -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getOnActionButtonClicked
final SingleLiveEvent<Boolean> getOnActionButtonClicked()
-
getOnRefresh
final SingleLiveEvent<Boolean> getOnRefresh()
-
getToolbarViewData
final MutableLiveData<ToolbarViewData> getToolbarViewData()
UI Binding
-
getShowBottomNavigation
final MutableLiveData<Boolean> getShowBottomNavigation()
-
getNavigate
final SingleLiveEvent<NavDirections> getNavigate()
Activity Observables
-
getOnBackPressed
final SingleLiveEvent<Boolean> getOnBackPressed()
-
getOnThemeChanged
final SingleLiveEvent<Boolean> getOnThemeChanged()
-
getUiEventStream
final SingleLiveEvent<UiEvent> getUiEventStream()
-
getResources
final Resources getResources()
-
-
-
-