Open
Description
moviesViewModel = viewModel(viewModelFactory) {
observe(movies, ::renderMoviesList)
failure(failure, ::handleFailure)
}
Taking this example, this viewmodel moves to the method renderMoviesList on success and handleFailure on failure.
But how is this defined in generic type, about the method and params it shall be moving towards?
Metadata
Metadata
Assignees
Labels
No labels
Activity