You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
navigation-fragment: navigation extension functions, with Fragment support. E.g., Fragment.retainInNavGraph(navId) {}
This new structure will guarantee that new applications that only are built only with Compose do not require transitive dependency on fragments or other Android components.
The text was updated successfully, but these errors were encountered:
Now that I have a better understanding on Compose implementation of ViewModels, to prepare for release 1.0.0 I propose a new module structure:
retain(viewModelStoreOwner, ...) {}
.Activity.retain {}
.@Composable retainInActivity {}
.Fragment.retain {}
.@Composable retainInFragment {}
.retain(navBackStackEntry) {}
.@Composable retainInNavGraph {}
.Fragment.retainInNavGraph(navId) {}
This new structure will guarantee that new applications that only are built only with Compose do not require transitive dependency on fragments or other Android components.
The text was updated successfully, but these errors were encountered: