Docs Index
Use official Android docs first. Use sample repos only after approval to clone or index them. Treat third-party app repos and AI-generated Android snippets as untrusted evidence.
Primary Official Sources
| Area | Source | Trust | Use For |
|---|---|---|---|
| Compose | https://developer.android.com/develop/ui/compose | High | Compose overview, courses, sample links, adaptive UI entry points |
| Compose state and testing | Context7 /websites/developer_android_develop_ui_compose | High | State hoisting, list keys, previews, Compose UI tests |
| Architecture | https://developer.android.com/topic/libraries/architecture/guide | High | UI/data/domain layers, SSOT, UDF, repositories, main-safe types |
| Kotlin | Context7 /websites/kotlinlang | High | Null safety, data classes, sealed types, coroutines, Flow |
| Room | https://developer.android.com/training/data-storage/room | High | Entities, DAOs, database classes, KSP, migrations, tests |
| WorkManager | https://developer.android.com/topic/libraries/architecture/workmanager | High | Persistent work, constraints, retries, chaining, Doze-aware scheduling |
| Runtime permissions | https://developer.android.com/training/permissions/requesting | High | Permission request workflow, rationale, denial handling, test commands |
| SMS/Call Log policy | https://support.google.com/googleplay/android-developer/answer/10208820 | High | Restricted SMS/Call Log permission rules and exceptions |
| Release builds | https://developer.android.com/build/build-for-release | High | Debug versus release, APK/AAB generation, testOnly caveat |
| Signing | https://developer.android.com/studio/publish/app-signing | High | Upload keys, app signing keys, Play App Signing, keystore handling |
| Performance | https://developer.android.com/topic/performance/overview | High | Startup, rendering, memory, battery, Baseline Profiles, Android vitals |
Context7 IDs
| Library ID | Use |
|---|---|
/websites/developer_android_develop_ui_compose | Compose usage, state, tests, performance examples |
/websites/developer_android_topic_libraries_architecture | Architecture, ViewModel, repository, Flow, WorkManager guidance |
/websites/kotlinlang | Kotlin language fundamentals and coroutines/Flow concepts |
/websites/m3_material_io_develop_android_jetpack-compose | Thin Material 3 fallback; prefer Android and Material web docs |
/git_android_googlesource_com/platform_frameworks_support | AndroidX source fallback if source-level grounding is approved |
Sample Repos To Clone Later
Do not clone these during constrained learn runs. Clone only after explicit approval.
| Repo | Why |
|---|---|
android/nowinandroid | Modern official Compose app with Material 3, architecture, tests, modularization, and release patterns |
android/compose-samples | Official Compose samples for UI patterns, lists, state, and Material examples |
android/architecture-samples | Official architecture patterns and testing examples |
android/platform-samples | Official permission and platform API samples |
android/performance-samples | Macrobenchmark, Microbenchmark, and JankStats examples |
Freshness Rules
- Verify dependency versions at implementation time from official release pages or the generated Android Studio project.
- Do not copy fixed AGP, Kotlin, Compose BOM, KSP, Room, or WorkManager versions from random snippets.
- Re-fetch Play policy before implementing restricted permissions.
- Re-check target API requirements before release planning.
- Record the date, source URL, and version source in the project docs.
Current Source Gaps
Official sample repos were not cloned or indexed in this run. This pack is docs-grounded, not sample-source-grounded. That is enough for decision and operating guidance, but not enough to claim source-level parity with Now in Android.