https://kotlinlang.org logo
Title
u

user

06/21/2022, 6:51 PM
How i can return a list inside a Json object using retrofit? I'm using retrofit and Rxjava to return a playlist of a Youtube channel. i can receive data using YoutubeApiService as a Single successfully but I need to return List in Repository. How i can return it? I greatly appreciate the time you're spending. Api Service: interface YoutubeApiService { @GET("{search}") fun getYoutubePlayList( @Path("search") search:String, @Query("key") key:String, @Query("channelId") channelId:String, @Query("part") part:String, @Query("list")...