accompanist
accompanist copied to clipboard
[Web] Idea: Use RecycledViewPool to cache WebView instances
This is just an idea, I have not prototyped it or anything.
Right now the WebView
View
is recreated every time the WebView
composable leaves and re-enters composition.
There's a potential to avoid this recreation via using something like a hoisted RecycledViewPool
, to re-use WebView
instances if possible. This approach could also be useful for other expensive View
s, such as a MapView
.
Cool idea, and definitely something that could be good to develop into a general practice for things like this as you say
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Still valid
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.