File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sceneview/src/main/java/io/github/sceneview Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,6 @@ open class SceneView @JvmOverloads constructor(
65
65
attrs : AttributeSet ? = null ,
66
66
defStyleAttr : Int = 0 ,
67
67
defStyleRes : Int = 0 ,
68
- sharedActivity : ComponentActivity ? = null ,
69
- sharedLifecycle : Lifecycle ? = null ,
70
68
/* *
71
69
* Provide your own instance if you want to share Filament resources between multiple views.
72
70
*/
@@ -167,8 +165,10 @@ open class SceneView @JvmOverloads constructor(
167
165
/* *
168
166
* The listener invoked for all the gesture detector callbacks.
169
167
*/
170
- sharedOnGestureListener : GestureDetector .OnGestureListener ? = null
171
- ) : SurfaceView(context, attrs, defStyleAttr, defStyleRes) {
168
+ sharedOnGestureListener : GestureDetector .OnGestureListener ? = null ,
169
+ sharedActivity : ComponentActivity ? = null ,
170
+ sharedLifecycle : Lifecycle ? = null ,
171
+ ) : TextureView(context, attrs, defStyleAttr, defStyleRes) {
172
172
173
173
val engine = sharedEngine ? : createEglContext().let {
174
174
defaultEglContext = it
You can’t perform that action at this time.
0 commit comments