This is a simple example to show how MVI pattern works. It is completely coded in kotlin. Understand the basics of MVI pattern before looking into the code.
- Retrofit 2 and Gson Convertor
- Mosby MVI
- RxJava
- Glide
Displays the restaurants available in your location. Used Zomato api to retrieve the restaurants details.
Generate a api key from Zomato developer site (https://developers.zomato.com/api) and add it your local.properties
like below
zomato_api_key = "api_key"