Hello everyone, Can you guys help me to find the s...
# android
s
Hello everyone, Can you guys help me to find the solution of this problem: https://stackoverflow.com/questions/59009872/how-to-rename-the-key-of-a-json-response-dynamically-in-retrofit2-android Sorry for providing external link, but I really got stuck at this.
d
Wrong place to post this: ⚠️ Using Kotlin to build Android applications. google can answer many questions. Android Studio Integration. Android-specific Gradle. If not related to Kotlin, please consider using StackOverflow and/or http://android-united.community/.
s
Thanks for your suggestion, but my question is related with Kotlin and Android, I already posted this problem in SO, but not finding any appropriate solution that's why I posted this here. I am really sorry if I violated any rules.
d
Have you tried replacing the class ResponseCurrencyConvert with a map, so you would declare it like this typealias ResponseCurrencyConvert = Map<String,Double>
d
The fact that you use Kotlin doesn’t mean that this is Kotlin related. You would have same issue if you use Java.