Skip to content

Compose-backed List, JNI import fixes, Fragment mount handling#1

Merged
colemancda merged 13 commits into
masterfrom
compose-listview
Jul 16, 2026
Merged

Compose-backed List, JNI import fixes, Fragment mount handling#1
colemancda merged 13 commits into
masterfrom
compose-listview

Conversation

@colemancda

Copy link
Copy Markdown
Member

Summary

  • Backs AndroidListView with a Jetpack Compose LazyColumn (via a new ComposeListView) instead of the legacy ArrayAdapter/android.widget.ListView path.
  • Fixes several compile breaks from the PureSwift/Android migration off JavaKit/JavaRuntime onto SwiftJava: stale imports, an ambiguous ListAdapter reference, and non-exhaustive switches over AndroidTarget.Storage after .fragment was added.
  • Fixes Fragment logging to use the same JavaClass<AndroidUtil.Log>() pattern as the rest of the codebase (previously referenced AndroidLogger/LogTag, which don't exist anywhere in this package).
  • Adds a missing Foundation import in ImageView.swift for URL.
  • Adds the compose-foundation dependency needed for LazyColumn.
  • Pins the local Swift toolchain via .swift-version to 6.3.2, matching the installed Android SDK.

Test plan

  • swift build succeeds on macOS host
  • Cross-compiled for aarch64-unknown-linux-android and ran on an emulator (API 36); list renders and updates live as items are added

@colemancda
colemancda merged commit 8fa235b into master Jul 16, 2026
0 of 6 checks passed
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.

1 participant