Exemple #1
0
  @Override
  protected void onEndMode() {
    int hiScore = Settings.getInteger(R.settings.hiscores.fullchallenge, 0);
    int score = foundInfo.getFound();
    if (score > hiScore) Settings.putInteger(R.settings.hiscores.fullchallenge, score);

    setResultText(
        String.format(
            Ichigu.getString(R.strings.fullChallengeResult),
            foundInfo.getText(),
            (score > hiScore ? Ichigu.getString(R.strings.newHiscore) : "")));

    super.onEndMode();
  }