accompanist icon indicating copy to clipboard operation
accompanist copied to clipboard

[Web] Idea: Use RecycledViewPool to cache WebView instances

Open alexvanyo opened this issue 2 years ago • 6 comments

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 Views, such as a MapView.

alexvanyo avatar Apr 07 '22 19:04 alexvanyo

Cool idea, and definitely something that could be good to develop into a general practice for things like this as you say

bentrengrove avatar Apr 07 '22 21:04 bentrengrove

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.

github-actions[bot] avatar May 08 '22 03:05 github-actions[bot]

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.

github-actions[bot] avatar Jun 08 '22 03:06 github-actions[bot]

Still valid

arriolac avatar Jun 08 '22 16:06 arriolac

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.

github-actions[bot] avatar Jul 09 '22 03:07 github-actions[bot]

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.

github-actions[bot] avatar Aug 11 '22 03:08 github-actions[bot]

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.

github-actions[bot] avatar Sep 16 '22 04:09 github-actions[bot]