Reflective Drawable Loader
Alexandros Schillings- EveryoneAge rating
- ToolsCategory
- Jul 27, 2015Updated
- FreePrice
Links to the official Google Play listing of co.uk.alt236.reflectivedrawableloader.sampleapp. Last checked on Dec 1, 2026.
About this app
Sample project demonstrating the use of the Reflective Drawable Loader Library
This is a sample project demonstrating the use of the Reflective Drawable Loader Library.
The library (and code) can be found here: https://github.com/alt236/Reflective-Drawable-Loader---Android
Project Description
---
Were you ever in a situation where you had to access Drawables based on their names (for example if the Drawable names are stored in a DB) and you had to write long lookup tables converting the names into R.drawable.ids? And maintaining them?
This library is offering a way around it by using reflection to access the Drawable directly by name. You only need to include them as normal into your Res folder tree. It has been benchmarked at up to 5x faster than the platform's Resources.getIdentifier() method.
It is using LRU caching to mitigate the reflection time overhead for both reflection "hits" and "misses".
The library (and code) can be found here: https://github.com/alt236/Reflective-Drawable-Loader---Android
Project Description
---
Were you ever in a situation where you had to access Drawables based on their names (for example if the Drawable names are stored in a DB) and you had to write long lookup tables converting the names into R.drawable.ids? And maintaining them?
This library is offering a way around it by using reflection to access the Drawable directly by name. You only need to include them as normal into your Res folder tree. It has been benchmarked at up to 5x faster than the platform's Resources.getIdentifier() method.
It is using LRU caching to mitigate the reflection time overhead for both reflection "hits" and "misses".
Data safety
What Alexandros Schillings declares on Google Play about the data this app collects and shares.
- No data shared with third partiesLearn more about how developers declare sharing
- No data collectedLearn more about how developers declare collection
What’s new
Version 0.0.3 · Jul 27, 2015
v0.0.1 First public release
v0.0.2 Bugfixes, added caching of the resource classes in ReflectionUtils.
v0.0.3 Added caching of non-existing drawable requests.
v0.0.2 Bugfixes, added caching of the resource classes in ReflectionUtils.
v0.0.3 Added caching of non-existing drawable requests.
Developer contact
- Websiteaschillings.co.uk
- Emailaschillings.dev@gmail.com
- Privacy policyaschillings.co.uk
- Address33 Craufurd Rise MAINDENHEAD SL67LR United Kingdom
Information
- Offered by
- Alexandros Schillings
- Category
- Tools
- Version
- 0.0.3
- Updated
- Jul 27, 2015
- Released
- Dec 4, 2013
- Requires
- Android 2.2 or later
- Age rating
- Everyone
- Price
- Free
- Package name
- co.uk.alt236.reflectivedrawableloader.sampleapp

