toggle menu
BIT App
androidJvm
switch theme
search in API
bitapp
/
com.atech.bit.ui.screens.society
/
SocietyViewModel
Society
View
Model
class
SocietyViewModel
@
Inject
constructor
(
case
:
KTorUseCase
)
:
ViewModel
Members
Constructors
Society
View
Model
Link copied to clipboard
@
Inject
constructor
(
case
:
KTorUseCase
)
Types
Society
Event
Link copied to clipboard
interface
SocietyEvent
Properties
current
Click
Society
Link copied to clipboard
val
currentClickSociety
:
State
<
Society
>
fetch
Data
Link copied to clipboard
val
fetchData
:
State
<
Pair
<
List
<
Society
>
,
List
<
Society
>
>
>
one
Time
Event
Link copied to clipboard
val
oneTimeEvent
:
SharedFlow
<
OnErrorEvent
>
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
?
on
Event
Link copied to clipboard
fun
onEvent
(
event
:
SocietyViewModel.SocietyEvent
)