Reflective Drawable Loader

Reflective Drawable Loader Free App

Rated 3.83/5 (6) —  Free Android application by Alexandros Schillings

Advertisements

About Reflective Drawable Loader

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".

How to Download / Install

Download and install Reflective Drawable Loader version 0.0.3 on your Android device!
Downloaded 100+ times, content rating: Everyone
Android package: co.uk.alt236.reflectivedrawableloader.sampleapp, download Reflective Drawable Loader.apk

All Application Badges

Free
downl.
Android
2.2+
For everyone
Android app

App History & Updates

What's Changed
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.
More downloads  Reflective Drawable Loader reached 100 - 500 downloads
More downloads  Reflective Drawable Loader reached 50 - 100 downloads

Oh snap! No comments are available for Reflective Drawable Loader at the moment. Be the first to leave one!

Share The Word!


Rating Distribution

RATING
3.85
6 users

5

4

3

2

1