ExamerWorkBookViewModel

class ExamerWorkBookViewModel(application: Application) : AndroidViewModel, WorkBookViewModel

A concrete implementation of WorkBookViewModel.

Constructors

Link copied to clipboard
fun ExamerWorkBookViewModel(application: Application)

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
open fun <T : Application> getApplication(): T
Link copied to clipboard
open fun <T : Any> getTag(p0: String): T
Link copied to clipboard
open fun onCleared()
Link copied to clipboard
open override fun saveUserAnswersForTestId(    questionsList: List<MultiChoiceQuestion>,     answersMap: Map<MultiChoiceQuestion, IndexOfChosenOption>,     testDetailsId: String,     workBookId: String)

Used to save the answers selected by the user for the specified workbook of a specific test.

Link copied to clipboard
open fun <T : Any> setTagIfAbsent(p0: String, p1: T): T