Componentes de la arquitectura

  1. Which of the following are reasons to use a ViewModel?

    Selecciona todas las respuestas que consideres correctas.

  2. A ViewModel is destroyed after which of the following ?

  3. True or False: You should execute time-consuming tasks and I/O requests in your Activity/Fragment.

  4. Why should you initialize and store LiveData in your ViewModel instead of a UI Controller?

  5. Which of the following allows you to use observe for changes?

  6. True or False: It’s OK for a ViewModel to directly reference a View or LifecycleOwner class.