ImprovTools
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
ImprovTools
app
/
com.brokenkernel.improvtools.settings.presentation.viewmodel
/
SettingsScreenViewModel
Settings
Screen
View
Model
internal
class
SettingsScreenViewModel
@
Inject
constructor
(
settingsRepository
:
SettingsRepository
)
:
ViewModel
Members
Constructors
Settings
Screen
View
Model
Link copied to clipboard
@
Inject
constructor
(
settingsRepository
:
SettingsRepository
)
Properties
ui
State
Link copied to clipboard
internal
val
uiState
:
StateFlow
<
SettingsScreenUIState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
clear
Link copied to clipboard
@
MainThread
internal
fun
clear
(
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
on
Cleared
Link copied to clipboard
protected
open
fun
onCleared
(
)
on
Click
Update
Allow
Analytics
Cookie
Storage
Link copied to clipboard
fun
onClickUpdateAllowAnalyticsCookieStorage
(
newState
:
Boolean
)
on
Click
Update
Should
Reuse
Suggestions
Link copied to clipboard
fun
onClickUpdateShouldReuseSuggestions
(
newState
:
Boolean
)
on
Click
Update
Timer
Haptics
Mode
Link copied to clipboard
fun
onClickUpdateTimerHapticsMode
(
newState
:
TimerHapticsModeUI
)
on
Click
Update
Tips
And
Tricks
View
Mode
Link copied to clipboard
fun
onClickUpdateTipsAndTricksViewMode
(
newState
:
TipsAndAdviceViewModeUI
)