Profile Screen View Model Factory
fun ProfileScreenViewModelFactory( application: Application, repository: Repository, authenticationService: AuthenticationService, passwordManager: PasswordManager, credentialsValidationUseCase: CredentialsValidationUseCase)
Content copied to clipboard
Parameters
application
an instance of the application class.
repository
a concrete implementation of Repository.
authentication Service
the authentication service that is used in the viewModel.
password Manager
a concrete implementation of passwordManager that will be used in the viewModel to retrieve the password.
credentials Validation Use Case
an instance of credentialsValidationUseCase that is used to validate the credentials.