Revision a9df241d
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/examples/dynamic/DynamicActivity.java | ||
---|---|---|
51 | 51 |
protected void onCreate(Bundle savedState) |
52 | 52 |
{ |
53 | 53 |
super.onCreate(savedState); |
54 |
DistortedLibrary.onCreate(); |
|
54 | 55 |
setContentView(R.layout.dynamicslayout); |
55 | 56 |
|
56 | 57 |
textDuration = findViewById(R.id.dynamicTextDuration); |
... | ... | |
129 | 130 |
protected void onResume() |
130 | 131 |
{ |
131 | 132 |
super.onResume(); |
132 |
|
|
133 |
|
|
133 | 134 |
GLSurfaceView v1 = findViewById(R.id.dynamicSurfaceView); |
134 | 135 |
v1.onResume(); |
135 | 136 |
DynamicSpeedSurfaceView v2 = findViewById(R.id.dynamicSpeedSurfaceView); |
Also available in: Unified diff
More support for using the library from more than one activity