galex
07/22/2024, 9:21 AMremember(LocalView.current) {}
in your code?
Isn't it problematic to put in the slots inside the ComposeView the whole view in which this ComposeView is in?
What do I miss here? 🤔mohamed rejeb
07/22/2024, 9:26 AMStylianos Gakis
07/22/2024, 10:13 AMval view = LocalView.current
val foo = remember { view... }
Won't re-run the remember if LocalView recomposes and you'll end up referencing the old view inside there.
Be careful with that.mohamed rejeb
07/22/2024, 10:26 AMStylianos Gakis
07/22/2024, 10:40 AMmohamed rejeb
07/22/2024, 10:41 AM