Question about the requirement for a `ViewTreeView...
# compose
z
Question about the requirement for a
ViewTreeViewModelStoreOwner
to be configured when
AbstractComposeView
is attached: Is that requirement just there to ensure that the
viewModel()
composable function always works, if any code in the composition happens to call it? Or is there actually something in the Compose foundation that’s relying on a
ViewModel
?
a
is is currently used by
viewModel()
composable and by
navigation-compose
if you know you are not going to use any of it you can provide a fake owner
z
Cool, that’s what I was planning to do but good to know my assumptions were correct 😅