Komponen arsitektur

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

    Pilih sebanyak mungkin jawaban yang Anda inginkan.

  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.