feat: scaffold ComposeReels reels app#1
Merged
Conversation
Multi-module vertical reels app built with the modern, Google-recommended Android stack: - Jetpack Compose + Material 3, edge-to-edge, dark theme - Now in Android-style modules: :app, :core:*, :feature:reels, build-logic - Hilt DI, Coroutines + Flow, UDF (single immutable StateFlow state) - Singleton Media3/ExoPlayer shared across pages via ReelPlayerController; released only at process shutdown (ProcessLifecycleOwner), never in a ViewModel - VerticalPager feed; only the settled page hosts a TextureView PlayerView - Swappable data layer (bundled asset feed, Retrofit seam for a real backend) - Unit tests (ViewModel/repository/mapper) + a Compose UI test - GitHub Actions CI, OSS scaffolding, English code + bilingual README, CLAUDE.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Add DASH playback support: media3-exoplayer-dash in :core:media, ReelSource.DASH with an APPLICATION_MPD MIME hint, and a DASH sample reel. - CI: make the flaky emulator/instrumented-tests job opt-in via workflow_dispatch so push/PR checks stay fast and green. - README (en/ja): describe the actual sample/test-stream sources, and right-size the "AI" framing to an AI-friendly reference implementation backed by CLAUDE.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
CI, license, minSdk, Kotlin, Compose and "PRs welcome" badges to make the project scannable and credible at a glance. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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.
Summary
Scaffolds ComposeReels, a modern multi-module vertical reels (short-video) Android app, built with the tech stack and architecture Google recommends. Designed as an open-source reference and an AI-driven-development template.
Changes
:app,:core:{model,common,network,data,media,designsystem,ui,testing},:feature:reels, andbuild-logicconvention plugins.VerticalPagerreels feed with overlay (author/caption/like/share).ExoPlayerprovided by Hilt as@Singleton, accessed only throughReelPlayerController. Only the settled page hosts a TextureView-backedPlayerView; the player is released once at process shutdown viaProcessLifecycleOwner, never from a ViewModel.StateFlow.ReelsRepository; bundledreels.jsonasset feed (public sample/HLS test streams) with a Retrofit seam for a real backend.:core:testingfakes &MainDispatcherRule.CLAUDE.md.Testing
./gradlew lintDebug testDebugUnitTest assembleDebugpasses (8 unit tests green)Notes
Versions pinned to known-compatible stable releases: AGP 8.7.3, Kotlin 2.1.0, Gradle 8.11.1, Compose BOM 2024.12.01, Hilt 2.54, Media3 1.5.1. compileSdk/targetSdk 35, minSdk 26.
🤖 Generated with Claude Code