Project

General

Profile

« Previous | Next » 

Revision fb16d72b

Added by Leszek Koltunski over 1 year ago

progress with FactoryBandagedMegaminx.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorScreen.java
148 148

  
149 149
  void onAttachedToWindow(final BandagedCreatorActivity act)
150 150
    {
151
    android.util.Log.e("D", "attached1");
152

  
153 151
    mAct = new WeakReference<>(act);
154 152
    mObjectView = act.findViewById(R.id.bandagedCreatorView);
155 153
    mTextSize = act.getScreenHeightInPixels()*BandagedCreatorActivity.SPINNER_TEXT_SIZE;
......
224 222
      {
225 223
      mSpinnerZ.setVisibility(View.INVISIBLE);
226 224
      }
227

  
228

  
229
    android.util.Log.e("D", "attached2");
230 225
    }
231 226

  
232 227
///////////////////////////////////////////////////////////////////////////////////////////////////
......
396 391

  
397 392
    public void restorePreferences(BandagedCreatorActivity act, SharedPreferences preferences)
398 393
      {
399
      android.util.Log.e("D", "restore1");
400

  
401 394
      String objects = preferences.getString(generateObjectKey(),"");
402 395
      addObjects(act,objects);
403 396

  
......
417 410

  
418 411
      mSpinnersReady = true;
419 412
      changeObject();
420

  
421
      android.util.Log.e("D", "restore2");
422 413
      }
423 414
}

Also available in: Unified diff