Hey here. Anyone with a good pointer for how to mo...
# random
c
Hey here. Anyone with a good pointer for how to model json objects(api response) with a lot of fields that you do not need, in Android? The api is returning a lot of fields and there is no way to exclude those fields at the api level. Any ideas?
u
Hi You can create a Kotlin data class with properties those you will use in your code and just ignore the rest of them. This will save your memory for not holding unwanted data