Any suggestions on what is the best way to migrate a project to compose? The project is modularized by feature and uses single activity and navigation component to navigate between fragments via deep links. I know that I should keep the fragments as wrappers for composables until the whole app is fully migrated but from where should I start the migration process? The app uses bottom navigation which is being setup using the navigation component. How can I convert the bottom nav to a compose UI and set it up with the navigation component?
1 year ago
Start by converting each fragment over so that their content is written entirely in Compose. Your activity's UI (and its NavHostFragment, BottomNavigationView, etc.) would be the very last thing you'd convert over to a composable NavHost and Compose's Scaffold