Skip to content

ankitchouhan/ZomatoSearch-MVVM

Repository files navigation

ZomatoSearch-MVVM

Kotlin Version

A restaurant searching app built with Android Jetpack.

Sample app which uses zomato search api to find restaurants and built to illustrate best development practices with Android Jetpack.

Libraries Used

  • Data Binding - Declaratively bind observable data to UI elements.
  • LiveData - Build data objects that notify views when the underlying database changes.
  • Navigation - Handle everything needed for in-app navigation.
  • ViewModel - Store UI-related data that isn't destroyed on app rotations. Easily schedule asynchronous tasks for optimal execution.
  • Glide for image loading
  • Kotlin Coroutines for managing background threads with simplified code and reducing needs for callbacks
  • Retrofit Type-safe HTTP client for Android and Java

Android Studio IDE setup

  • Use the latest version of Android Studio.
  • (Optional) Currently app uses ktlint to enforce Kotlin coding styles.
  • Add your Zomato API Key in Constants.kt file to make search work.

Discussions

If you've found an error in this sample, please file an issue: https://github.com/ankitchouhan/ZomatoSearch-MVVM/issues