📄️ Components and Scopes
This page explains the core concepts of Anchor DI: components and scopes. Understanding these will help you design a clean dependency graph and avoid common pitfalls. If you're new to DI or coming from Hilt/Dagger, these concepts will feel familiar.
📄️ Modules and Bindings
This page explains how to organize and define bindings in Anchor DI. You'll learn when to use @Module, @Provides, @Binds, and @Inject constructors, and how they work together. If you're new to DI or coming from Hilt/Dagger, these concepts will feel familiar.
📄️ Qualifiers
Sometimes you need multiple bindings for the same type. For example, you might have two different base URLs (API and web), two different loggers (debug and release), or two different databases (main and cache). Anchor DI supports qualifiers to distinguish between them. This page explains how to use @Named and custom qualifiers.