python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to do API call in for loop in android?
How we can perform same API call in for loop of array list of object :
private var emergencyContacts: ArrayList<Contact> = ArrayList()
emergencyContacts.forEach
{
contactsViewMo...
vyas dipak
Votes: 0
Answers: 2
How to call form-data with key-value in rest request using Retrofit Android
I want to send rest request in this specific format i.e. form-data with key="image" and value=selected file
I am trying this way but it is not working in my case
@Multipart
@POST("dash...
Syed Murtaza
Votes: 0
Answers: 1
How can i work with flow inside repository android?
I wrote code which works fine without kotlin flow, but i want to try kotlin flow and when i used it inside repository but somehow it is not even entering inside i could not find any solution since it ...
Jakhongir Jalilov
Votes: 0
Answers: 1
Failed to generate the Json adapter with Moshi
I'm receiving a response from BE and the response is a base64 encoded image. The response looks like this:
{"image":"/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQ...
Sorry
Votes: 0
Answers: 1