07/05/2022, 3:31 AM
How we can send an image to the server in kotlin? I try yo send the image that i get from local gallery to swagger. The required type for image is string ($binary). How can i send it to server? I've search in google and youtube but it seems i still doesn't find the tutorial i need, sometimes it is in activity than fragment. So i confused. I'm new in kotlin. This is my fragment code: and this is my viewModel code: <a...