DEV Community

Discussion on: Kotlin Coroutines and Retrofit – A Practical Approach to Consuming REST APIs in Android

Collapse
 
qendev profile image
qendev

Rashid,the response logic is not ok its not working...

Collapse
 
rtficial profile image
Rishabh Tatiraju

Hey @qendev , Rishabh here! Can you share some more information about the issue?

Collapse
 
jeka1488 profile image
jeka1488 • Edited

Maybe @qendev didn't add settings in module level file
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}

Thread Thread
 
rtficial profile image
Rishabh Tatiraju • Edited

Good catch, will include it in the post.