Batman Movies is a simple application which shows all movies which superhero, batman, staring in them. user can also see details of movies by choosing each one.
The app is developed upon Clean + MVVM architecture. it has two data sources :
- Remote data source which is based on OMDB API. api is called with GET method with two query parameters, one is api key and second one depends on the needs. we add "batman" as query parameter to search all batman movies and if we want to get details of a movie we add it's imdb id as query parameter instead.
- Cache data source which store movies in a sqlite database to use when user is offline.
worth metioning that both data sources are unit tested
Icons are from AndroidStudio built-in Material Icon pack. The illustration icons are from iconfinder.com
Further developments can include unit test repositories, models and view models, write integration test and UI tests.