Tests View Model Factory
class TestsViewModelFactory( authenticationService: AuthenticationService, repository: Repository, testDetailsListType: TestDetailsListType) : ViewModelProvider.Factory
Content copied to clipboard
A ViewModelProvider.Factory that is used for creating an instance of ExamerTestsViewModel.
Parameters
authentication Service
the authentication service that is used in the viewModel.
repository
a concrete implementation of Repository.
test Details List Type
represents what type of tests the instance of the viewModel is dealing with.
Constructors
Link copied to clipboard
fun TestsViewModelFactory( authenticationService: AuthenticationService, repository: Repository, testDetailsListType: TestDetailsListType)
Content copied to clipboard