![]() blocking and non-blocking calls) in an android app using Retrofit2 and OkHttp library. You can see the full code working in the Bandhook Kotlin repository. Thank for reading me and sorry for bad english. But i have an issue with the enqueue method that tell me : Expecting member declaration Therefore I have an other issue on the object : name expected. But I've looked how to use enqueue and all I see is what I've done. ![]() I have been struck from the past 3 days and unable to load data on recyclerview in Fragment using retrofit 2.4.0.I can see in terminal that the data is being fetched from the server using realtive url but couldn't populate it(means OnReponse and OnFailure is skipped when i debug the code).Furthermore, I can see some garbage values on the application UI. Learn to execute synchronous and asynchronous calls (i.e. Retrofit is a library that greatly simplifies doing requests to an API, and in this case Iâm going to teach you how to integrate it with some LastFM API requests. But i have an issue with the enqueue method that tell me : Expecting member declaration Therefore I have an other issue on the object : name expected.
0 Comments
Leave a Reply. |