MVVM + RxJava: Learnings
Lucia Payo
2315

“we are making the Fragment very dumb”

No, you are not. View shouldn’t subscribe on anything. The only things which view should “do”:

  1. Tell view-model “hey bro, user sees me” and “bye, bro, I am going to hide”.
  2. Tell view-model about user interaction.

RxJava seems to be unnecessary for view <-> view-model communications.

Like what you read? Give Ilya Eremin a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.