ProfileScreenViewModelFactory

fun ProfileScreenViewModelFactory(    application: Application,     repository: Repository,     authenticationService: AuthenticationService,     passwordManager: PasswordManager,     credentialsValidationUseCase: CredentialsValidationUseCase)

Parameters

application

an instance of the application class.

repository

a concrete implementation of Repository.

authenticationService

the authentication service that is used in the viewModel.

passwordManager

a concrete implementation of passwordManager that will be used in the viewModel to retrieve the password.

credentialsValidationUseCase

an instance of credentialsValidationUseCase that is used to validate the credentials.