开发者

ScoreNinja titleText and subboard are not doing anything

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜