- Android Studio 2.3 (https://developer.android.com/studio/index.html)
- Kotlin plugin (https://blog.jetbrains.com/kotlin/2013/08/working-with-kotlin-in-android-studio/)
- Android SDK 26
The Spotify SDK is already configured All the library needed for the excercise are imported
- Choose an Api to call between the one implemented in SpotifyService.kt
- Create the Data classes for the Response
- Create the coroutine for retreiving the data
- Display the data in a list using Anko
- Apply filtering and or ordering to the response before displaying the result
Composing Suspending Functions (https://github.com/Kotlin/kotlinx.coroutines/blob/master/coroutines-guide.md#composing-suspending-functions)
You may need to implement a
suspending
function that returns asuspendCoroutine
and that is called from anasync
block
Anko Layouts (https://github.com/Kotlin/anko/wiki/Anko-Layouts#using-anko-layouts-in-your-project)
There's no need to add the
setContentView
Anko sets content views automatically
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html