toggle menu
BIT App
androidJvm
switch theme
search in API
bitapp
/
com.atech.bit.ui.screens.holiday
/
HolidayViewModel
Holiday
View
Model
class
HolidayViewModel
@
Inject
constructor
(
case
:
KTorUseCase
,
conf
:
RemoteConfigHelper
)
:
ViewModel
Members
Constructors
Holiday
View
Model
Link copied to clipboard
@
Inject
constructor
(
case
:
KTorUseCase
,
conf
:
RemoteConfigHelper
)
Properties
current
Year
Link copied to clipboard
val
currentYear
:
State
<
String
>
holidays
Link copied to clipboard
val
holidays
:
State
<
List
<
Holiday
>
>
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
(
selectedTabIndex
:
Int
)