Game Of Thrones themed Android Jetpack MVVM demo.
A simple Android application that lists and displays all the episodes from the popular TV show, GameOfThrones.
- Given the 'game_of_thrones_episodes.txt' file, parse the JSON content and display each of the episode’s name as a list on the left side the app, taking up 35% of the app’s landscape space.
- Keep the app screen orientation locked in landscape mode.
- When the user taps on an episode from the list, the app will display the following content associated with that episode:
- The original image associated with that episode, to be displayed on the top
- The episode’s summary at the bottom of the image
- Persist the episode selection across app launches.
This demo uses the Gradle build system.
- Download the demo by cloning this repository.
- In Android Studio, create a new project and choose the "Import Project" option.
- Select the root directory that you downloaded with this repository.
- If prompted for a gradle configuration, accept the default settings.
- Alternatively use the gradlew build command to build the project directly.
- Use of the DataBinding Library can often require to rebuild the project in order to generate Implementation classes.
- James Campbell - Android Developer -