Project

General

Profile

« Previous | Next » 

Revision 6a083c6a

Added by Leszek Koltunski about 3 years ago

- report the Graphics driver's Renderer and Version.
- new Diamond, Skewb2 and Skewb3 meshes.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogScoresPagerAdapter.java
31 31
import android.widget.LinearLayout;
32 32

  
33 33
import org.distorted.main.R;
34
import org.distorted.scores.RubikScores;
35
import org.distorted.scores.RubikScoresDownloader;
34
import org.distorted.network.RubikScores;
35
import org.distorted.network.RubikNetwork;
36 36
import org.distorted.objects.ObjectList;
37 37
import org.distorted.states.RubikStatePlay;
38 38

  
39 39
///////////////////////////////////////////////////////////////////////////////////////////////////
40 40

  
41
class RubikDialogScoresPagerAdapter extends PagerAdapter implements RubikScoresDownloader.Receiver
41
class RubikDialogScoresPagerAdapter extends PagerAdapter implements RubikNetwork.Receiver
42 42
  {
43 43
  private final FragmentActivity mAct;
44 44
  private final RubikDialogScores mDialog;
......
242 242

  
243 243
    if( allCreated )
244 244
      {
245
      RubikScoresDownloader downloader = RubikScoresDownloader.getInstance();
245
      RubikNetwork network = RubikNetwork.getInstance();
246 246

  
247
      if( mIsSubmitting )  downloader.submit  ( this, mAct );
248
      else                 downloader.download( this, mAct );
247
      if( mIsSubmitting )  network.submit  ( this, mAct );
248
      else                 network.download( this, mAct );
249 249
      }
250 250

  
251 251
    return mViews[position];

Also available in: Unified diff