julioromano
02/12/2021, 2:24 PMAndroidView
undergo state restoration as usual? (i.e. is their state actually written to the save state bundle during config changes and is it restored afterwards?)
Asking because a WebView
inside an AndroidView
will have its content reloaded at any configuration change, no matter if I call webView.loadUrl("...")
inside `AndroidView`’s viewBlock
or update
params.
Same goes for a RecyclerView
inside an `AndroidView`: Scroll position is not restored on configuration changes.
I also tried putting a custom view inside an AndroidView
and I could verify its onSaveInstanceState()
method is called during config changes but its onRestoreInstanceState()
is not.