toggle menu
BIT App
androidJvm
switch theme
search in API
bitapp
/
com.atech.bit.ui.screens.course.screen.sub_view
/
ViewSubjectViewModel
View
Subject
View
Model
class
ViewSubjectViewModel
@
Inject
constructor
(
kTorUseCase
:
KTorUseCase
,
state
:
SavedStateHandle
)
:
ViewModel
Members
Constructors
View
Subject
View
Model
Link copied to clipboard
@
Inject
constructor
(
kTorUseCase
:
KTorUseCase
,
state
:
SavedStateHandle
)
Types
View
Subject
Events
Link copied to clipboard
interface
ViewSubjectEvents
Properties
course
Sem
Link copied to clipboard
val
courseSem
:
String
has
Error
Link copied to clipboard
val
hasError
:
State
<
Pair
<
Boolean
,
String
>
>
is
Online
Link copied to clipboard
val
isOnline
:
Boolean
online
Md
Content
Link copied to clipboard
val
onlineMdContent
:
State
<
String
>
subject
Link copied to clipboard
val
subject
:
String
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
(
events
:
ViewSubjectViewModel.ViewSubjectEvents
)