https://kotlinlang.org logo
#compose
Title
# compose
k

kyleg

02/19/2020, 6:04 AM
Where are the samples mentioned in the source code? For instance, in
Flex.kt
, part of
androidx.ui.layout
the doc comment block above
fun Column
says
@sample androidx.ui.layout.samples.SimpleColumn
, but I cannot locate that in the package or the source or anywhere googling that string.
l

Luca Nicoletti

02/19/2020, 8:44 AM
Are you using
dev-04
or
repo
to have the entire `android-x`source?
l

Louis Pullen-Freilich [G]

02/19/2020, 11:33 AM
The samples are generated to the public documentation on developer.android.com - so if you find the corresponding documentation there you can see the sample. We would also like to link the actual sample code from in studio in the future
k

kyleg

02/19/2020, 4:14 PM
@Luca Nicoletti dev04
And as far as the docs at Louis’s link, I’m not so sure. If I go there to the Samples section and search
SimpleColumn
there are 0 results.
l

Louis Pullen-Freilich [G]

02/19/2020, 4:26 PM
It will be in the documentation for the component that contains the sample. So you will need to look for the documentation for the component, and in there will be the samples
👍 1
I.e in this case look in the documentation for Column
👍 1