Skip to content

saied89/compose-legos

Repository files navigation

compose-legos

Autogenerated runnable catalogue of compose samples

Get it on Google Play

How it works

  • Android frameworks/support repositpry is added as a git submodule and various Samples directories are added as source directories to a project module.
  • Samples are processed using ksp and runnable sample code is generated using kotlinpoet.
  • Generated samples are presented in the application.

Experimental Idea Plugin

  1. Make sure you have a working ADB and only a single connected Device
  2. Install Compose Legos from either Play Store or Github Releases on your Device or Emulator
  3. Install the Plugin
  4. There is now a Launch Sample context action when right clicking on @Sample annotated lines. Compose Plugin Plugin Demo

Todo

  • Add a way to inspect running sample state
  • Add runtime theme modification support
  • Add Analytics
  • Add a way to change samples
  • Add UI tests

About

Generated, runnable catalog of compose samples

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages