staffstart-android-sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
staffstart-android-sdk
example
/
com.vanish.standard.example
/
ExampleViewModel
Example
View
Model
class
ExampleViewModel
:
ViewModel
Members
Constructors
Example
View
Model
Link copied to clipboard
constructor
(
)
Properties
is
Logged
In
Link copied to clipboard
val
isLoggedIn
:
StateFlow
<
Boolean
>
is
Show
Login
Alert
Link copied to clipboard
val
isShowLoginAlert
:
StateFlow
<
Boolean
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
hide
Need
Login
Alert
Link copied to clipboard
fun
hideNeedLoginAlert
(
)
login
Link copied to clipboard
fun
login
(
)
logout
Link copied to clipboard
fun
logout
(
)
show
Need
Login
Alert
Link copied to clipboard
fun
showNeedLoginAlert
(
)