Project

General

Profile

« Previous | Next » 

Revision 85b09df4

Added by Leszek Koltunski about 4 years ago

Reorganize UI of the Play state.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogScoresPagerAdapter.java
32 32
import org.distorted.scores.RubikScoresDownloader;
33 33
import org.distorted.objects.RubikObjectList;
34 34

  
35
import static org.distorted.states.RubikStatePlay.MAX_SCRAMBLE;
35
import static org.distorted.states.RubikStatePlay.MAX_LEVEL;
36 36

  
37 37
///////////////////////////////////////////////////////////////////////////////////////////////////
38 38

  
......
136 136

  
137 137
  private void addPage(int tab, final RubikDialogScoresView view, final String[][] country, final String[][] name, final float[][] time)
138 138
    {
139
    for(int i=0; i<MAX_SCRAMBLE; i++)
139
    for(int i=0; i<MAX_LEVEL; i++)
140 140
      {
141 141
      final LinearLayout section = view.createSection(mAct, tab, i, country[i], name[i], time[i]);
142 142

  

Also available in: Unified diff