Reflective Drawable Loader

Alexandros Schillings

Reflective Drawable Loader

工具
  • 0.00
(0 投票)

免费安装

500

应用安装

Android 2.2+

最低版本

带广告

广告

04.12.2013

发布日期

最近更改:

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.

描述:

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

Alexandros Schillings 其他应用

USB Device Info

USB Device Info

Alexandros Schillings
  • 3.18
KeyEvent Display

KeyEvent Display

Alexandros Schillings
  • 3.00
Under the Hood

Under the Hood

Alexandros Schillings
  • 4.83
Bluetooth LE Scanner

Bluetooth LE Scanner

Alexandros Schillings
  • 3.28
Reflective Drawable Loader

Reflective Drawable Loader

Alexandros Schillings
  • 0.00
Network Info II

Network Info II

Alexandros Schillings
  • 4.34
WiFi Key Recovery (needs root)

WiFi Key Recovery (needs root)

Alexandros Schillings
  • 2.97
USB VEN/DEV Database

USB VEN/DEV Database

Alexandros Schillings
  • 0.00
Hex2Bin

Hex2Bin

Alexandros Schillings
  • 0.00
Network Port Database

Network Port Database

Alexandros Schillings
  • 0.00
下载