This project is a demo android app that connects to the HearThisAt API and shows a list of top artists with their tracks. When a track is selected the app streams it until another track is selected.
Audio keeps on playing while browsing artists/songs. Playback stops by either quiting the app via back button or by swiping it out from the list of recent apps.
This project is written in Kotlin and uses Model-View-Presenter for better testability.
The app is built and unit tested with the help of Travis CI.
See Dependencies.kt
- Retrofit for network calls
- Moshi for JSON parsing
- RxAndroid for getting data from network/cache
- Fresco for image loading
- Dagger for dependency injection
- Butterknife for view injection in activities
- Timber for logging
- MockitoKotlin for testing behaviour
- Kluent for assertions in unit tests