Hello There, i am delighted that you landed onto my article.
In this Article i will teaching you how to fetch data from restful API having multiple...
For further actions, you may consider blocking this person and/or reporting abuse
I think the author just forget to past code of country_item.xml, so I just want to make the project completed by adding the missing file.
Here is the my github link: github.com/chinghsuanwei/CovidLog
Feel free to tell me to delete repo, if you think it's not OK.
Nice article but I have found some issues with the JSON contents you posted.
also could you please post the code on Github for references.
Hello,sorry for this...i will post the code on github and clarify as well
where this code in github?
Thank you very much for this guidance. I have a query. I tried to use a variable in the @GET expression but get the following compiler error:
“Only ‘const val’ can be used in constant expressions.”
Can you advise me how to get around this problem please? Thank you.
Hello android studio 4 : convert Json to kotlin
data class CountryInfo(
val _id: Int,
val flag: String,
val iso2: String,
val iso3: String,
val lat: Int,
val long: Int
)
error nothing to screen
Explication ???
My english is bad
Best regards
Hi, I think just forget to put the code for country_item.xml. But Works excellent
Explication
MyCountry
val criticalPerOneMillion: Double,
CountryInfo
val lat: Double
val long: Double
With Modifications : OK but android studio 4 : convert Json to kotlin is not correct ??