android/snippets
소개
developer.android.com에 게시되는 스니펫의 기본 저장소입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- +6
- in 1 month
- +12
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAndroid Snippets
This repository holds code snippets used in Android documentation on developer.android.com.
The idea is that by having a small sample project that contains the code snippets from documentation, developers will gain more context on how to implement a specific API.
In addition, by having CI running on this repo, we can ensure that the code snippets on developer.android.com is in a working condition.
It is a work in progress, as many snippets are still embedded as static HTML.
Contributing
We love contributions! See CONTRIBUTING.md for guidelines.
Interactive Compose Previews (preview/)
The preview/ directory provides the interactive WebAssembly (Compose Multiplatform for Web) preview runner and Roborazzi screenshot generator used by developer.android.com:
preview/wasm: Compiles registered Material 3 Compose snippets fromcompose/snippetsinto an embeddable WebAssembly application (wasm.html+snippets-preview-wasm.mjs) with URL-driven theme, color preset, and density controls.preview/generator: Generates 16:9 (768x432) monochrome static preview screenshots for every snippet inSnippetRegistry.ktusing Robolectric Native Graphics and Roborazzi.
See preview/README.md for local build, screenshot generation, and development server instructions.
관련 프로젝트 살펴보기
불러오는 중…