1/2
Reflective Drawable Loader screenshot 0
Reflective Drawable Loader screenshot 1
Reflective Drawable Loader Icon

Reflective Drawable Loader

Alexandros Schillings
Trustable Ranking Iconموثوق
1K+التنزيلات
417kBالحجم
Android Version Icon2.2.x+
إصدار الأندرويد
0.0.3(13-07-2016)الإصدار الأخير
-
(0 المراجعات)
Age ratingPEGI-3
تنزيل
التفاصيلالمراجعاتالنُّسَخالمعلومات
1/2

وصف لـ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".


</div> <div jsname="WJz9Hc" style="display:none">هذا هو مشروع عينة مما يدل على استخدام المكتبة لودر Drawable عاكس.


مكتبة (ورمز) ويمكن الاطلاع هنا: https://github.com/alt236/Reflective-Drawable-Loader---Android


وصف المشروع


---


وكنت من أي وقت مضى في حالة حيث كان لديك للوصول Drawables استنادا إلى أسمائهم (على سبيل المثال إذا تم تخزين أسماء Drawable في DB) وكان لديك لإرسال جداول البحث الطويل تحويل الأسماء إلى R.drawable.ids؟ والحفاظ عليها؟


هذه المكتبة تقدم وسيلة من حوله باستخدام انعكاس للوصول إلى Drawable مباشرة بالاسم. تحتاج فقط إلى تضمينها كالمعتاد في شجرة المجلد الدقة الخاصة بك. تم قياسها في ذلك ما يصل إلى 5x أسرع من Resources.getIdentifier () طريقة للمنبر.


أنه يستخدم LRU التخزين المؤقت للتخفيف من وقت انعكاس النفقات العامة على حد سواء التفكير "يضرب" و "يخطئ".</div> <div class="show-more-end">

Reflective Drawable Loader - إصدار 0.0.3

(13-07-2016)
نُسخ أخرى
ما الجديدv0.0.1 First public releasev0.0.2 Bugfixes, added caching of the resource classes in ReflectionUtils.v0.0.3 Added caching of non-existing drawable requests.

لا توجد آراء أو تقييمات بعد! لترك أول تقييم يرجى

-
0 Reviews
5
4
3
2
1

Reflective Drawable Loader - معلومات APK

نُسخة APK: 0.0.3الحزمة: co.uk.alt236.reflectivedrawableloader.sampleapp
التوافق مع أندرويد: 2.2.x+ (Froyo)
المطور:Alexandros Schillingsسياسة الخصوصية:http://aschillings.co.uk/html/privacy.htmlالأذونات:0
الاسم: Reflective Drawable Loaderالحجم: 417 kBالتنزيلات: 2الإصدار : 0.0.3تاريخ الإصدار: 2020-05-19 08:03:28الشاشة: SMALLيدعم CPU نوع:
عنوان الحزمة: co.uk.alt236.reflectivedrawableloader.sampleappتوقيع SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4Fالمطور (CN): Alexandros Schillingsالمنظمة (O): alt236محلي (L): Colchesterالبلد (C): UKولاية/مدينة (ST): Essexعنوان الحزمة: co.uk.alt236.reflectivedrawableloader.sampleappتوقيع SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4Fالمطور (CN): Alexandros Schillingsالمنظمة (O): alt236محلي (L): Colchesterالبلد (C): UKولاية/مدينة (ST): Essex

آخر إصدار من Reflective Drawable Loader

0.0.3Trust Icon Versions
13/7/2016
2 التنزيلات417 kB الحجم
تنزيل