I'am currently using Retrofit 2 and i want to fetch JSON File from server. Is it possible to show progress when using retrofit 2 library?
@Streaming
@GET("trains.json")
suspend fun trains(): Response<Trains>
I'am currently using Retrofit 2 and i want to fetch JSON File from server. Is it possible to show progress when using retrofit 2 library?
@Streaming
@GET("trains.json")
suspend fun trains(): Response<Trains>