Project

General

Profile

« Previous | Next » 

Revision c3ffcf58

Added by Leszek Koltunski about 4 years ago

Progress with saving number of runs, plays, name, verified status.

View differences:

src/main/java/org/distorted/dialog/RubikDialogScoresPagerAdapter.java
28 28
import android.widget.LinearLayout;
29 29

  
30 30
import org.distorted.magic.R;
31
import org.distorted.scores.RubikScores;
31 32
import org.distorted.scores.RubikScoresDownloader;
32 33
import org.distorted.object.RubikObjectList;
33 34

  
......
165 166

  
166 167
    if( allCreated )
167 168
      {
169
      RubikScores scores = RubikScores.getInstance();
168 170
      RubikScoresDownloader downloader = new RubikScoresDownloader();
169
      downloader.download( this,
170
                           "distorted",  // TODO
171
                           mAct.getString(R.string.app_version),
172
                           1 );  // TODO
171
      downloader.download( this, scores.getName(), mAct.getString(R.string.app_version), scores.getNumRuns() );
173 172
      }
174 173

  
175 174
    return mViews[position];

Also available in: Unified diff