Posts by Thiago Rocha • 11 points
3 posts
-
0
votes2
answers320
viewsA: POST using Retrofit is not returning to the Onresponse function
I managed to solve it. Actually, the problem was quite another. Debugging better I realized that I was returning to Onresponse but with code 500, and then I discovered that one of the fields was…
-
0
votes2
answers320
viewsQ: POST using Retrofit is not returning to the Onresponse function
My application is made with Kotlin Retrofit and Gson. I have several gets to fetch information and work normally, manipulate the data returning in Onresponse and ok, works normally. But when I run…
-
1
votes1
answer53
viewsA: How to filter to show only required fields in a class using Gson
An alternative if you don’t want to deal with the object with all fields, vc can create a hashMap and insert the list data into it, using a key, value and then destroy the "complete list" private…