FrankenRobot - Android injection library based on resources qualifier mechanism. (github.com)

1 points by menny ↗ HN
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

[ 4.1 ms ] story [ 16.3 ms ] thread

No comments yet.