Metro Samples¶
The samples directory contains various sample projects demonstrating different use cases and integrations for Metro.
android-app¶
A simple Android sample app that demonstrates using Metro to constructor-inject Android framework components like Activity
, Fragment
, and ViewModel
with multibindings.
circuit-app¶
A multiplatform sample that demonstrates using Metro with Circuit and Jetpack Compose.
interop¶
Various demonstrating interop between Metro and other dependency injection frameworks.
multi-module-test¶
A sample + integration test demonstrating Metro in a multi-module project structure with.
This sample shows how Metro handles dependencies across module boundaries and component hierarchies.
weather-app¶
A simple command-line weather app that demonstrates basic Metro usage.