3

There is that @sample thing in docstrings from source code, like @sample androidx.compose.foundation.samples.PlaceholderBasicTextFieldSample. I was wondering how can I — if there is a way — see them, see this PlaceholderBasicTextFieldSample. Was trying to search for this, but had no luck.

Alexander
  • 75
  • 2
  • 7
  • Think these samples are documented here https://android.googlesource.com/platform/frameworks/support/+/androidx-main/docs/api_guidelines.md#enforcement but they don't work for me. – Yuri Schimke Jul 19 '22 at 12:04

2 Answers2

4

I just global search Github and it should lead you to a mirror of their repo.

Androidx Repository

Samuel Neff
  • 73,278
  • 17
  • 138
  • 182
Kyle
  • 695
  • 6
  • 24
  • 1
    Minor clarification... this is a mirror of their repo, the official repo is listed in the readme on the reference repo. It exists at https://android.googlesource.com/platform/frameworks/support. They don't use GitHub for source management. Possibly because they have over 2,000 separate repos that make up the Android source. – Samuel Neff Jan 26 '22 at 14:16
  • @SamuelNeff Cool! I didn't know that, thanks – Kyle Feb 16 '22 at 00:43