Skip to content

feat: add Android View host bridge - #40

Merged
Osilvfe merged 7 commits into
mainfrom
feat/android-view-host-v35
Sep 13, 2026
Merged

Osilvfe merged 7 commits into
mainfrom
feat/android-view-host-v35

Conversation

@Osilvfe

@Osilvfe Osilvfe commented Sep 13, 2026

Copy link
Copy Markdown
Member

Thirty-fifth integration pass

  • add AMLLPlayerView, an AbstractComposeView wrapper around the existing AMLLPlayer
  • expose imperative lyric, playback, seek, auto-seek, obscene-word-mask, style and click APIs for traditional Android View hosts
  • use DisposeOnViewTreeLifecycleDestroyed so the hosted Compose composition follows the surrounding Activity/Fragment lifecycle
  • keep the underlying AMLLPlayerState available for advanced integrations while allowing simple hosts to stay entirely non-Compose
  • add an isolated integration/view-consumer-smoke build that uses the published Maven artifact from a plain Android View project
  • intentionally do not apply the Compose compiler plugin in the View consumer, proving YAQMC's current BridgeActivity/WebView host can instantiate AMLLPlayerView without becoming a Compose host
  • extend CI to build both the Compose API consumer and the plain View consumer after publishing the AAR to Maven Local

This pass provides the host boundary needed for the next YAQMC integration stage: mount the native lyric renderer as a sibling/overlay to the existing Capacitor WebView and drive it from YAQMC's native playback clock.

@Osilvfe
Osilvfe merged commit 3d73483 into main Sep 13, 2026
2 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