Play games loadLeaderboardMetadata () returns stale data

I am working on an application with Play Game Services, and I am creating a user interface to display a leaderboard with only player rating and ranking as dynamic data.

Then, when a user clicks on a rating or rating, he will be sent to the default user interface for leaders to display this particular leaderboard in detail.

In other words: I am creating a user interface for the leadesboards list, but I am using the default user interface to display a specific leaderboard.

I use the loadLeaderboardMetadata () method to get leader data. The problem is that it returns stale data, even when I use loadLeaderboardMetadata (context, true) to force the data to reload.

In addition, if I click on an outdated account to display a specific leaderboard with a default user interface, the data is updated here! ... and then if I go back to the leaderboard and force a reload of data, the data for this particular leaderboard will be updated (but not data for other leaders).

Any idea and / or ways around this?

Thank you in advance,

Stéphane.

+4
source share
1 answer

, , loadCurrentPlayerLeaderboardScore loadLeaderboardMetadata .

: , , 30 , , API, . , .

0

All Articles