ExamerTestsViewModel

fun ExamerTestsViewModel(    authenticationService: AuthenticationService,     repository: Repository,     testDetailsListType: TestDetailsListType)

Parameters

authenticationService

the authentication service to be used.

repository

a reference to the repository that the viewModel will use to fetch the data.

testDetailsListType

the type of TestDetailsListType that the viewModel would be responsible for. For example, if the viewModel is passed TestDetailsListType.SCHEDULED_TESTS all operations within the viewModel will be performed with respect to scheduled tests.