Can't log any data from API call
I'm pretty new to kotlin, and I feel pretty much overwhelmed by it. I'd like to ask - how I can display any data from MutableLiveData? I've tried to Log it, but it doesn't seem to work. I've already added the internet permission to the manifest. Here's the code:
ApiServices
interface ApiServices {
@GET("/fixer/latest/")
fun getRatesData(
@Query("base") base: String,
@Query("apikey") apikey: String
): Call
companion object {
private const val url = "
https://api.apilayer.com/"...