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!
精彩评论