https://andro.io/app/sampleapp-tnbv
Reflective Drawable Loader for  Android – Latest Version & Features app icon
Android app profile

Reflective Drawable Loader for Android – Latest Version & Features

by

4.0 (0 ratings)
Power 100

Price

free

Version

Updated

Size

Bytes

Rate this app

How do you feel about Reflective Drawable Loader?

Thanks for your feedback!

> 2.2k

Monthly Downloads

~$900

Estimated Cost

Screenshots

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---AndroidProject 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 platforms Resources.getIdentifier() method.It is using LRU caching to mitigate the reflection time overhead for both reflection "hits" and "misses".

Share

Share Reflective Drawable Loader

Help others discover this Android app.

Reflective Drawable Loader

Reflective Drawable Loader

Free

Get