标签: android api kotlin retrofit
我正在尝试使用pokemon API,并且有一个Pokemon和PokemonRespuesta类(响应)。
“ 200 OK”响应没有问题,但我认为我什么也没收到,或者API已关闭。
我不确定我的代码有什么问题。
First image shows the way I build the request to the API. After 'v2/' goes 'pokemon' which is gotten from the interface
Second image shows how I got the response from the API and an ArrayList is filled