title: How do I pull multiple leaderboards from the Google Play Games API in Android?
body: <p>I'm working on a multi level Android game and I want to pull the highscores after sign in.
  I'm doing this:</p>
  
  <pre><code>Games.Leaderboards.loadCurrentPlayerLeaderboardScore(getApiClient(), getString(LEADER_BOARDS[i]),
                  LeaderboardVariant.TIME_SPAN_ALL_TIME, LeaderboardVariant.COLLECTION_PUBLIC)
                  .setResultCallback(this);
  </code></pre>
  
  <p>But the callback doesn't give me the leaderboard id:</p>
  
  <pre><code>@Override
  public void onResult(LoadPlayerScoreResult res) {
  
  }
  </code></pre>
  
  <p>I only get the score (<code>res.getScore()</code>).
  So do I have to create callbacks for each of my 25 levels or is there a better solution?</p>
  
  <p>This doesn't work as well:</p>
  
  <pre><code>for (int i = 0; i &lt; 25; i++)
      Games.Leaderboards.loadCurrentPlayerLeaderboardScore(getApiClient(), getString(LEADER_BOARDS[i]),
                  LeaderboardVariant.TIME_SPAN_ALL_TIME, LeaderboardVariant.COLLECTION_PUBLIC)
                  .setResultCallback(new ResultCallback&lt;LoadPlayerScoreResult&gt;() {
  
                      @Override
                      public void onResult(LoadPlayerScoreResult res) {
                          // can't use variable i here
                      }
      });
  </code></pre>