Skip to content

Claude/gradle agp compatibility ge7bro#1300

Open
davezig wants to merge 6 commits into
ReadYouApp:mainfrom
davezig:claude/gradle-agp-compatibility-ge7bro
Open

Claude/gradle agp compatibility ge7bro#1300
davezig wants to merge 6 commits into
ReadYouApp:mainfrom
davezig:claude/gradle-agp-compatibility-ge7bro

Conversation

@davezig

@davezig davezig commented Jul 6, 2026

Copy link
Copy Markdown

No description provided.

claude and others added 6 commits June 23, 2026 15:35
Adds a user preference to force single-column mode on tablets/large
screens. When enabled, the 2-pane adaptive layout collapses to a single
column where tapping an article takes over the full screen and back
returns to the article list. Default is off (adaptive behavior unchanged).

- FlowSingleColumnPreference: new boolean preference (ON/OFF)
- DataStoreExt: register key "flowSingleColumn" in both PreferencesKey and legacy DataStoreKey
- Settings/Preference/SettingsProvider: wire preference through the settings system
- AppEntry: override scaffold directive with maxHorizontalPartitions=1 when enabled
- FeedsPageStylePage: add "Layout" section with toggle switch
- strings.xml: add single_column_layout and layout string resources

https://claude.ai/code/session_01DJ46HYUPdGBeDXuYgrqGNB
The navigator's scaffoldValue only recomputes on navigation events, not
when scaffoldDirective alone changes. Without a navigation event, isTwoPane
stays stale after toggling, requiring a rotation or app restart to take effect.

Add a LaunchedEffect that watches forceSingleColumn via snapshotFlow and
navigates to the List pane on every change (after initial composition),
triggering the navigator to recompute scaffoldValue with the updated directive.

https://claude.ai/code/session_01DJ46HYUPdGBeDXuYgrqGNB
Covers build setup, architecture overview, preferences system pattern,
adaptive layout notes (including the single-column toggle behavior),
key libraries, and branch naming convention.

https://claude.ai/code/session_01DJ46HYUPdGBeDXuYgrqGNB
When the single-column preference is enabled, only force maxHorizontalPartitions=1
in portrait. In landscape (screenWidthDp > screenHeightDp) the adaptive directive
is used as-is, so a tablet rotated sideways naturally shows the two-pane view.

https://claude.ai/code/session_01DJ46HYUPdGBeDXuYgrqGNB
…irv2Q

Add single-column layout toggle for adaptive feed list
AGP 8.13.0 uses a Gradle internal API (InternalProblems) that was removed in
Gradle 9.6.0. Upgrading to AGP 8.14.0 removes this dependency and allows
builds with Gradle 9.6+.
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