Examer Tests View Model
fun ExamerTestsViewModel( authenticationService: AuthenticationService, repository: Repository, testDetailsListType: TestDetailsListType)
Content copied to clipboard
Parameters
authentication Service
the authentication service to be used.
repository
a reference to the repository that the viewModel will use to fetch the data.
test Details List Type
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.