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

AreaSourceTrustUse For
Composehttps://developer.android.com/develop/ui/composeHighCompose overview, courses, sample links, adaptive UI entry points
Compose state and testingContext7 /websites/developer_android_develop_ui_composeHighState hoisting, list keys, previews, Compose UI tests
Architecturehttps://developer.android.com/topic/libraries/architecture/guideHighUI/data/domain layers, SSOT, UDF, repositories, main-safe types
KotlinContext7 /websites/kotlinlangHighNull safety, data classes, sealed types, coroutines, Flow
Roomhttps://developer.android.com/training/data-storage/roomHighEntities, DAOs, database classes, KSP, migrations, tests
WorkManagerhttps://developer.android.com/topic/libraries/architecture/workmanagerHighPersistent work, constraints, retries, chaining, Doze-aware scheduling
Runtime permissionshttps://developer.android.com/training/permissions/requestingHighPermission request workflow, rationale, denial handling, test commands
SMS/Call Log policyhttps://support.google.com/googleplay/android-developer/answer/10208820HighRestricted SMS/Call Log permission rules and exceptions
Release buildshttps://developer.android.com/build/build-for-releaseHighDebug versus release, APK/AAB generation, testOnly caveat
Signinghttps://developer.android.com/studio/publish/app-signingHighUpload keys, app signing keys, Play App Signing, keystore handling
Performancehttps://developer.android.com/topic/performance/overviewHighStartup, rendering, memory, battery, Baseline Profiles, Android vitals

Context7 IDs

Library IDUse
/websites/developer_android_develop_ui_composeCompose usage, state, tests, performance examples
/websites/developer_android_topic_libraries_architectureArchitecture, ViewModel, repository, Flow, WorkManager guidance
/websites/kotlinlangKotlin language fundamentals and coroutines/Flow concepts
/websites/m3_material_io_develop_android_jetpack-composeThin Material 3 fallback; prefer Android and Material web docs
/git_android_googlesource_com/platform_frameworks_supportAndroidX 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.

RepoWhy
android/nowinandroidModern official Compose app with Material 3, architecture, tests, modularization, and release patterns
android/compose-samplesOfficial Compose samples for UI patterns, lists, state, and Material examples
android/architecture-samplesOfficial architecture patterns and testing examples
android/platform-samplesOfficial permission and platform API samples
android/performance-samplesMacrobenchmark, 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.