开发者

ScoreNinja titleText and subboard are not doing anything

开发者 https://www.devze.com 2023-01-05 10:39 出处:网络
I am using ScoreNinja (a high score mana开发者_开发技巧ger) in my android game, and I want to use the subboard feature mentioned in the documentation.

I am using ScoreNinja (a high score mana开发者_开发技巧ger) in my android game, and I want to use the subboard feature mentioned in the documentation.

But when I do this:

mScoreNinjaAdapter.show(score, "Test Title", "test_board");

It doesn't do anything differently. The title is still "Global High Scores" and it is still showing scores from the main board.


If you're running this in an aSync thread (as I suspect you are since it's communicating by network), make sure you're using activity.runOnUiThread.

This allows you to make UI changes in other threads. This is necessary because the UI is not threadsafe.

Check out this article and see if it helps you with your problem.

Hope this helps!

0

精彩评论

暂无评论...
验证码 换一张
取 消