Project

General

Profile

« Previous | Next » 

Revision a9df241d

Added by Leszek Koltunski over 3 years ago

More support for using the library from more than one activity

View differences:

src/main/java/org/distorted/examples/quaternion/QuaternionActivity.java
36 36
  protected void onCreate(Bundle icicle) 
37 37
    {
38 38
    super.onCreate(icicle);
39
    DistortedLibrary.onCreate();
39 40
    mView = new QuaternionSurfaceView(this);
40 41
    setContentView(mView);     
41 42
    }
......
56 57
  protected void onResume() 
57 58
    {
58 59
    super.onResume();
59
    mView.onResume();  
60
    mView.onResume();
60 61
    }
61 62
    
62 63
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff