FrankenRobot - Android injection library based on resources qualifier mechanism.(github.com)
github.com
FrankenRobot - Android injection library based on resources qualifier mechanism.
https://github.com/menny/FrankenRobot
A simple injection library for Android: uses Android resources qualification mechanism to map interfaces to concrete implementations.
FrankenRobot takes two string-array resources; one of canonical interface names, and the second of canonical concrete implementations.
You can specify a different implementation for every imaginable resource qualifier (be it API level, screen-size, locale, etc.), and FrankenRobot will instantize the most appropriate implementation using Android's resource qualifier mechanism.
0 comments
—