nullpointer.wtf - The Null Pointer | Android Dev Blog

Description: Android Developer Blog with posts about awesome libraries, tips and how to improve your workflow.

Example domain paragraphs

Model-View-Presenter (MVP) architecture is widely used in today’s Android apps to separate the view from the presentation logic and the model by introducing a presenter. Model-View-ViewModel (MVVM) is quite similar to MVP, with the view model acting as an enhanced presenter, using a data binder to keep the view model and the view in sync. By binding the view to view model properties, the data binder can handle view updates without the need to manually set changed data back to the view (e.g. no more setText(

Retrofit is a library, which is useful in most apps one can think of. If the app needs a backend, you can – and should – use Retrofit for RESTful services. It’s remarkably easy to setup – you’ll have networking up and running in no time, automatically getting the responses parsed into your model objects.

Often you also want to persist some of the data that is fetched from the backend. Realm is very popular, because you can work with “normal” objects, instead of having to use SQLite (even though many ORM libs exist). Also, RealmObjects are live objects, so you always get access to the newest data.