kotlin - Riot API with R4J Wrapper cannot get match list - Stack Overflow

admin2025-04-18  6

I'm using R4J to use the riot api in kotlin, however, I am running into some issues when trying to get the match list of a summoner using the PUUID. I am using something like this:

r4j.loLAPI.matchAPI.getMatchList(RegionShard.EUROPE, summoner.puuid)

For some reason if I run this in debug mode and step over the code slowly it is able to get the matches, but if I let the code run normally it returns an empty match list.

I know the request should not return an empty list beacuse it works correctly when I test it on the riot api website, maybe it is caused by some kind of issue with asynchronous code?

转载请注明原文地址:http://www.anycun.com/QandA/1744973746a90252.html