Reflective Drawable Loader

+500
ڈاؤن لوڈز
مواد کی درجہ بندی
ہر کوئی
اسکرین شاٹ کی تصویر
اسکرین شاٹ کی تصویر

اس ایپ کے بارے میں

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".
اپ ڈیٹ کردہ بتاریخ
4 دسمبر، 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.