An open API service indexing awesome lists of open source software.

https://github.com/sorianog/marsrealestateapp

"Mars Real Estate" app from Udacity Android Kotlin course
https://github.com/sorianog/marsrealestateapp

android databinding glide jetpack kotlin kotlin-android livedata mobile-app moshi mvvm navigation retrofit udacity

Last synced: about 2 months ago
JSON representation

"Mars Real Estate" app from Udacity Android Kotlin course

Awesome Lists containing this project

README

          

# Connect to the Internet - Mars Real Estate

This is the toy app for Lesson 8 of the [Android App Development in Kotlin course on Udacity](https://classroom.udacity.com/courses/ud9012/).

Updates:

* Latest library versions (see .gradle files) with minor code refactoring
* Steps from [Google Codelabs (08.1-3)](https://codelabs.developers.google.com/android-kotlin-fundamentals/)

## MarsRealEstate

MarsRealEstate is a simple demo app using ViewModel & LiveData with Retrofit, Glide and Moshi in Kotlin.

This app demonstrates the following views and techniques:

* [Retrofit](https://square.github.io/retrofit/) to make api calls to an HTTP web service
* [Moshi](https://github.com/square/moshi) which handles the deserialization of the returned JSON to Kotlin data objects
* [Glide](https://bumptech.github.io/glide/) to load and cache images by URL.

It leverages the following components from the Jetpack library:

* [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel)
* [LiveData](https://developer.android.com/topic/libraries/architecture/livedata)
* [Data Binding](https://developer.android.com/topic/libraries/data-binding/) with binding adapters
* [Navigation](https://developer.android.com/topic/libraries/architecture/navigation/) with the SafeArgs plugin for parameter passing between fragments

## Screenshots

![Screenshot 1](screenshots/screen_1.png)
![Screenshot 2](screenshots/screen_2.png)
![Screenshot 3](screenshots/screen_3.png)