ai-agent

InflationInject speeds up Android UI setup with Kotlin view injection

Inject views directly during XML layout inflation, cutting boilerplate and speeding UI development. Ideal for Android founders building sleek apps.

From the repo · “Constructor-inject views during XML layout inflation”

890 stars54 forksKotlinGuide quality 8/10 · reviewed Oct 10Updated 10/17/2023100% free · open source
What it does

InflationInject simplifies the process of injecting views during XML layout inflation in Kotlin, making it easier to manage complex user interfaces.

When to use it
  • •When you need to construct complex views with many dependencies
  • •When you want to reduce boilerplate code in your Android app's UI components
  • •When you need to improve the testability of your Android app's UI logic
Ready-to-paste prompt
Annotate your custom view with @InflationInject and add it to your layout XML: <com.example.YourView android:id="@+id/your_view" ... />
Heads up: Make sure to use the correct version of the Kotlin compiler and Android Gradle plugin to avoid compatibility issues with InflationInject
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/inflationinject && curl -fsSL https://workflowstacks.com/api/skills/inflationinject/claude-skill -o ~/.claude/skills/inflationinject/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How InflationInject speeds up Android UI setup with Kotlin view injection works
Codeflow
Free to inspect

InflationInject speeds up Android UI setup with Kotlin view injection is a small Kotlin project (~1.3k lines across 24 code files, plus 3 test files). Setup is light: install Java/JVM, run one command. Last commit 37 months ago, Apache-2.0 license, has a test suite.

Size
Small codebase
~1.3k lines · 24 code files · 11 min skim
Setup
Light setup
Install Java/JVM, run one command.
Runs on
Java/JVM
No API keys detected
Kotlin 90%Java 10%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    inflation-inject/build.gradle
    Inside inflation-inject/ — the main logic begins here
What's in each folder
inflation-inject/Core code — the actual logic9 files
gradle/Folder3 files
.github/CI / automation (GitHub Actions)3 files
READMEHas testsDocumentedCI checksApache-2.0 licenseLast update 37 mo agoArchived — read only
Quick Actions
Details
Creator
cashapp
Language
Kotlin
Category
ai-agent
Published
6/12/2017

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/inflationinject.svg)](https://workflowstacks.com/skills/inflationinject?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.