LittleKnife

General

Category
Free
Tag
Dependency Injections
License
N/A
Min SDK
8 (Android 2.2–2.2.3 Froyo)
Registered
Sep 24, 2014
Favorites
0
Link
https://github.com/emmano/LittleKnife
See also
DaggerViewModel
Napkin
Katana
Tiger
ViewHolderInflater

Additional

Language
Java
Version
N/A
Created
Sep 21, 2014
Updated
Nov 29, 2014 (Retired)
Owner
emmano
Contributor
emmano
1
Activity
Badge
Generate
Download
Source code

LittleKnife

Simple View injection framework to be used as a tool for learning compile-time Annotation Processing

###What is LittleKnife?

LittleKnife is a minimal, functional, oversimplification of a View "injection" framework like ButterKnife.

###What is the motivation behind LittleKnife?

I have been using libraries that use Annotations for some time now, and I always felt that it would be nice to actually understand how these libraries used Annotations to, for example, initialize my Views. I always felt that there was this huge amount of magic that goes one that I really didn't understand, so I started by looking at the ButterKnife source code and thought it would be nice to share a simplified version of it, so other developers trying to learn Annotation Processing do not feel overwhelmed and lose interest.