At 1:31 the speaker says something along the lines of ~"composables are completely different from views. it doesn't use the view hierarchy at all"
https://www.droidcon.com/2021/11/10/testing-jetpack-compose-ui/
Maybe a bit pedantic, but that's not entirely true right? Composables on android still essentially just live in a view hierarchy?
g
gildor
12/02/2021, 6:27 AM
But composables themselves do not use View somehow, you just need some container to render your composable and get access to canvas
If we would be so strict, it would make Flutter or many games based on views too, which rather confusing
r
romainguy
12/02/2021, 6:52 AM
Indeed. A window on Android is always created by adding a View to WindowManager so you can't really escape it