10

The (so far) insufficient documentation for Material Design / components says this

To try out the MDC Catalog app, you can either run the catalog module in Android Studio or run the following Gradle command: ./gradlew :catalog:installDebug

However, I can ont find the "catalog module" in Android Studio, nor am I sure where to run that Gradle command.

Finally, there is no catalog app in GitHub for Android although there is a "catalog app" for the web components.

1
  • The question about how to run the Gradle command haven't been address yet.
    – carloswm85
    Nov 12, 2020 at 15:28

2 Answers 2

15

The catalog app is located in the material-components-android repo.

1
  • 1
    How did you find it!! Jun 18, 2019 at 3:30
1

For Material Components Catalog app, you can get the source code at material-components/material-components-android on GitHub, the source link is mentioned in the official Building from source page, pre-built binary can be downloaded from their GitHub release page.


I'm searching for Jetpack Compose Catalog and Google search bought me here, for people looking for Jetpack Compose Catalog which contains the official Material components for Jetpack Compose, you can get the app on Google Play. For source code, you can view the source code on AOSP using Android Code Search or the synchronized Android Jetpack repository on GitHub. (reference)

Personally, I recommend using Android Code Search since the Compose Material Catalog app also relies on code in some other source repository (e.g. the source code for ButtonSample are in package androidx.compose.material.samples.*), and the search option provided by Android Code Search can be very helpful to find the actual code you're looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.