CourseViewModel

class CourseViewModel @Inject constructor(useCase: SyllabusUseCase, kTorUseCase: KTorUseCase, pref: SharedPreferences) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(useCase: SyllabusUseCase, kTorUseCase: KTorUseCase, pref: SharedPreferences)

Types

Link copied to clipboard
interface OneTimeEvent

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val lab: StateFlow<PagingData<SyllabusUIModel>>
Link copied to clipboard
Link copied to clipboard
val pe: StateFlow<PagingData<SyllabusUIModel>>
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
fun onEvent(events: CourseEvents)