class SettingsViewModel : ViewModel
The ViewModel of SettingsFragment.
application
- The context used for creating the SymbolRepository.
Factory |
Factory for the SettingsViewModel. class Factory : Factory |
<init> |
The ViewModel of SettingsFragment. SettingsViewModel(application: Application) |
clickResetStatus |
Button click indicator for reset button. val clickResetStatus: LiveData<Boolean> |
refreshing |
Indicates that the symbol repository is currently being refreshed. val refreshing: LiveData<Boolean> |
symbolRepositoryStateAction |
Gets triggered if the symbol repository is refreshed. val symbolRepositoryStateAction: LiveData<State> |
toggleFingerprintStatus |
Button click indicator for fingerprint button. val toggleFingerprintStatus: LiveData<Boolean> |
onFingerprintToggled |
Reset the fingerprint button click indicator. fun onFingerprintToggled(): Unit |
onGameReset |
Reset the reset game click indicator. fun onGameReset(): Unit |
onSymbolActionCompleted |
Reset the refresh symbols button click indicator. fun onSymbolActionCompleted(): Unit |
refreshSymbols |
Set the refresh symbols button click indicator. fun refreshSymbols(): Unit |
resetGame |
Set the reset game click indicator. fun resetGame(): Unit |
toggleFingerprint |
Set the fingerprint button click indicator. fun toggleFingerprint(): Unit |