android10 / android10/Android-CleanArchitecture-Kotlin
how it works viewmodel{observe,failure}
Aberta
- Linguagem predominante
- Kotlin
- Estrelas
- 4.8k
- Forks
- 929
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
> 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?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.