Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Custom LeaderboardView

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18316

    Ricardo

    Hi,  I am adapting the LeaderboardView so that I can change between different leaderboards, but after I have called showLeaderboard  method from VPlayGameNetwork, it doesn’t refresh the data when I call it again with other parameters, only if I change the displaying networkview first.

    For example:
    I call from outside leaderboard view:
    gameNetworkItem.showLeaderboard(“example1”)

    and  call    gameNetworkItem.showLeaderboard(“example2”)  from inside it.

    How can I force VPlayGameNetwork to reload it without leaving it first ?

    Thank you

    #18348

    Alex
    Felgo Team

    Hi Ricardo,

    you can call the sync() method of the VPlayGameNetwork to force a refresh of the data.

    Cheers,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.