toggle menu
BIT App
androidJvm
switch theme
search in API
bitapp
/
com.atech.bit.ui.screens.event
/
EventViewModel
Event
View
Model
class
EventViewModel
@
Inject
constructor
(
firebaseCase
:
FirebaseCase
,
val
getAttach
:
GetAttach
,
state
:
SavedStateHandle
)
:
ViewModel
Members
Constructors
Event
View
Model
Link copied to clipboard
@
Inject
constructor
(
firebaseCase
:
FirebaseCase
,
getAttach
:
GetAttach
,
state
:
SavedStateHandle
)
Properties
current
Click
Event
Link copied to clipboard
val
currentClickEvent
:
State
<
EventModel
?
>
event
Id
Link copied to clipboard
val
eventId
:
String
fetch
Events
Link copied to clipboard
val
fetchEvents
:
State
<
List
<
EventModel
>
>
get
Attach
Link copied to clipboard
val
getAttach
:
GetAttach
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
:
EventScreenEvent
)