https://github.com/android/snippets
Main repository for snippets surfaced on developer.android.com.
https://github.com/android/snippets
Last synced: 11 months ago
JSON representation
Main repository for snippets surfaced on developer.android.com.
- Host: GitHub
- URL: https://github.com/android/snippets
- Owner: android
- License: apache-2.0
- Created: 2018-06-20T14:19:53.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T19:48:46.000Z (12 months ago)
- Last Synced: 2025-04-06T15:05:57.520Z (12 months ago)
- Language: Kotlin
- Size: 4.96 MB
- Stars: 782
- Watchers: 66
- Forks: 209
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Android Snippets
This repository holds code snippets used in Android documentation on [developer.android.com](https://developer.android.com/guide).
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](./CONTRIBUTING.md) for guidelines.