Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Jetpack Navigation #456

Open
EdricChan03 opened this issue Sep 20, 2023 · 0 comments
Open

Migrate to Jetpack Navigation #456

EdricChan03 opened this issue Sep 20, 2023 · 0 comments
Labels
comp: arch Issues/PRs related to the app's architecture. enhancement Enhancements to the Android app. For the web version, please use the other repo instead. good first issue Issues/PRs for new contributors to look at. help wanted Issues/ PRs that will benefit help from the community. migration Issues/PRs for long-term changes to be made

Comments

@EdricChan03
Copy link
Owner

Android Jetpack has a first-party solution to doing app navigations in Android apps, instead of hand-coding manual fragment transactions/startActivitys/etc.

This also improves long-term maintainability :P

Resources

@EdricChan03 EdricChan03 added enhancement Enhancements to the Android app. For the web version, please use the other repo instead. help wanted Issues/ PRs that will benefit help from the community. good first issue Issues/PRs for new contributors to look at. comp: arch Issues/PRs related to the app's architecture. migration Issues/PRs for long-term changes to be made labels Sep 20, 2023
EdricChan03 added a commit that referenced this issue Jun 15, 2024
* Add initial type-safe routes (`CompatDestination`)
* Refactor `MainActivity` to use Jetpack Navigation (initialise
  nav-graph)
  * Update to use `NavHostFragment`
* Add type-safe `NavController` extension functions to navigate to a route
EdricChan03 added a commit that referenced this issue Jun 15, 2024
* Replace `startActivity` calls with the relevant `NavController`
  navigations
EdricChan03 added a commit that referenced this issue Jul 13, 2024
EdricChan03 added a commit that referenced this issue Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: arch Issues/PRs related to the app's architecture. enhancement Enhancements to the Android app. For the web version, please use the other repo instead. good first issue Issues/PRs for new contributors to look at. help wanted Issues/ PRs that will benefit help from the community. migration Issues/PRs for long-term changes to be made
Projects
Status: In Progress
Development

No branches or pull requests

1 participant