Skip to content

Migrate to single activity#110

Merged
anod merged 15 commits intomasterfrom
dev/single-activity
Oct 25, 2025
Merged

Migrate to single activity#110
anod merged 15 commits intomasterfrom
dev/single-activity

Conversation

@anod
Copy link
Owner

@anod anod commented Oct 25, 2025

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.

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

@anod anod requested a review from Copilot October 25, 2025 11:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

anod and others added 2 commits October 25, 2025 14:35
…el.kt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@anod anod merged commit 6a8f07a into master Oct 25, 2025
1 check passed
@anod anod deleted the dev/single-activity branch October 25, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants