RealEstateInMars is an app that uses RESTful server and how to specify different endpoints and different query values using the Retrofit and Moshi library. It also uses Glide for efficient display of images. RecyclerView is used to build the grid with use of binding adapters.
This app demonstrates the following views and techniques:
-
Retrofit to make api calls to an HTTP web service.
-
Moshi which handles the deserialization of the returned JSON to Kotlin data objects.
-
Glide to load and cache images by URL.
It leverages the following components from the Jetpack library:
-
ViewModel
-
LiveData
-
Data Binding with binding adapters
-
Navigation with the SafeArgs plugin for parameter passing between fragments