koin-guide

Community

Master Koin DI for Kotlin Android.

AuthorSheTieJun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Solves the problem of boilerplate dependency injection in Kotlin/Android by using Koin.

Core Features & Use Cases

  • Module-based configuration: Define dependencies with module blocks and scope rules.
  • Single, Factory, and ViewModel injections: Use single for singletons, factory for new instances, and viewModel for Android architecture components.
  • Use Case: Imagine an Android app with a repository, a networking layer, and a ViewModel; Koin wires dependencies with minimal boilerplate and supports named qualifications and scopes.

Quick Start

To set up Koin in an Android app, add the dependencies to your Gradle files, create a MyApp class that starts Koin, declare modules, and inject dependencies into Activities or ViewModels.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: koin-guide
Download link: https://github.com/SheTieJun/BaseKit/archive/main.zip#koin-guide

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.