You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalStateException: Calling method on destroyed View at com.google.android.filament
.View.getNativeObject(View.java:1229)
at com.google.android.filament.View.setScene(View.java:210)
at io.github.sceneview.SceneView.setScene(SceneView.kt:249)
at io.github.sceneview.SceneKt$Scene$4.invoke(Scene.kt:220)
at io.github.sceneview.SceneKt$Scene$4.invoke(Scene.kt:190)
The Scene Composable exists inside the LazyColumn, and after scrolling to the bottom, the following error occurs when you return to the item with Scene Composable.
It seems to be a problem caused by the creation and destruction of items by necessity inside LazyColumn, but we can't control LazyColumn.
Therefore, it is being solved temporarily using the following method. But I don't think it's a good way
Very interresting subject. I have to admit that I never tested it.
Would you share your code somewhere on GitHub so we can check the destroying/dispose behaviour with LazyColumn?
dependenceis : "io.github.sceneview:sceneview:2.0.3"
exceptions:
The Scene Composable exists inside the LazyColumn, and after scrolling to the bottom, the following error occurs when you return to the item with Scene Composable.
It seems to be a problem caused by the creation and destruction of items by necessity inside LazyColumn, but we can't control LazyColumn.
Therefore, it is being solved temporarily using the following method. But I don't think it's a good way
Is there a way to do it?
The text was updated successfully, but these errors were encountered: