Dynamically populating spinner using Retrofit?
问题 Here what am looking for is need to populate spinner which is a json response from rest service using retrofit . After a long research i cant find any samples on this can anyone share some sample based on this this would be very useful for me thanks in advance! 回答1: first create theretrofitapi interface /** * reCreated by goodlife on 1/11/2016. */ import java.util.List; import retrofit.Callback; import retrofit.client.Response; import retrofit.http.Field; import retrofit.http.FormUrlEncoded;