Revision a9df241d
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/examples/earth/EarthActivity.java | ||
---|---|---|
45 | 45 |
protected void onCreate(Bundle savedState) |
46 | 46 |
{ |
47 | 47 |
super.onCreate(savedState); |
48 |
|
|
48 |
DistortedLibrary.onCreate(); |
|
49 | 49 |
setContentView(R.layout.earthlayout); |
50 | 50 |
|
51 | 51 |
SeekBar levelBar = findViewById(R.id.earthInflateLevel); |
... | ... | |
82 | 82 |
protected void onResume() |
83 | 83 |
{ |
84 | 84 |
super.onResume(); |
85 |
|
|
85 |
|
|
86 | 86 |
GLSurfaceView view = findViewById(R.id.earthSurfaceView); |
87 | 87 |
view.onResume(); |
88 | 88 |
|
Also available in: Unified diff
More support for using the library from more than one activity