Become a member
Sign in
Roger Zhou
Roger Zhou

Roger Zhou

57 Following
  • Profile
  • Claps
  • Highlights

Highlighted by Roger Zhou

See more

From Android Architecture Patterns Part 3: Model-View-ViewModel by Florina Muntenescu

The ViewModel should expose states for the View, rather than just events. For example, if we need to display the name and the email address of a User, rather than creating t…

From Android Architecture Components — now with 100% more MVVM by Joaquim Ley

As you can see the ViewModel has no idea to whom might subscribe to the emitted data. It is also completely abstracted from the data sources, it simply asks theBusRepository for the data and doesn’t really care of it’s internal implementations, it could come from a remote webservice or a simple local database (this is oddly satisfying to know we’re respecting the Single responsibility principle).

From Android Application Architecture by Iván Carballo

nous s…roblem. If you are not familiar with reactive programming you can read this introduction. In short, RxJava allows you to manage data via asynchronous streams and gives you many operators that you can apply to the stream in order to transform, filter or combine the data.

Claps from Roger Zhou

See more

Traefik 2.0 + Docker — an Advanced Guide

Containeroo

Enabling HTTPS with Let's Encrypt on Docker

Schubert Tabarez

831太子站死人疑團尚未澄清/第一身力證當晚警察可疑之處

無神論者的巴別塔