Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the application from a multi-activity architecture to a single-activity architecture using AndroidX Navigation3 and Material3 Adaptive components. The migration introduces declarative navigation, removes multiple Activity classes, and consolidates UI state management.
- Replaces individual Activity classes with composable screens using Navigation3
- Updates minimum SDK from 27 to 31 and bumps version to 1.7.0
- Modernizes dependency versions including Gradle, AndroidX libraries, and Kotlin
Reviewed Changes
Copilot reviewed 73 out of 75 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| app/src/main/java/com/anod/appwatcher/AppWatcherActivity.kt | Transforms from simple MainActivity subclass to single-activity host with Navigation3 integration |
| app/src/main/java/com/anod/appwatcher/wishlist/WishListViewModel.kt | Removes activity-specific actions, adds auth token checking and error handling |
| app/src/main/java/com/anod/appwatcher/watchlist/WatchListStateViewModel.kt | Refactors navigation actions from activity-based to navigation key-based |
| app/build.gradle.kts | Updates minSdk to 31, adds serialization and navigation dependencies |
| settings.gradle.kts | Adds AndroidX snapshot repository for navigation3 dependencies |
| gradle/libs.versions.toml | Updates library versions including navigation3, compose, and other AndroidX libraries |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
app/src/main/java/com/anod/appwatcher/wishlist/WishListViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/anod/appwatcher/wishlist/WishListViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/anod/appwatcher/wishlist/WishListViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/anod/appwatcher/preferences/SettingsViewModel.kt
Outdated
Show resolved
Hide resolved
…el.kt Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All basic functionality should work
This PR migrates the application from a multi-activity architecture to a single-activity architecture using AndroidX Navigation3 and Material3 Adaptive components. The migration introduces declarative navigation, removes multiple Activity classes, and consolidates UI state management.