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 Loader ห้องสมุด


ห้องสมุด (และรหัส) สามารถพบได้ที่นี่: https://github.com/alt236/Reflective-Drawable-Loader---Android


รายละเอียดโครงการ


---


มีคุณเคยอยู่ในสถานการณ์ที่คุณมีการเข้าถึง Drawables ขึ้นอยู่กับชื่อของพวกเขา (ตัวอย่างเช่นถ้าชื่อ drawable จะถูกเก็บไว้ในฐานข้อมูล) และคุณต้องเขียนตารางการค้นหายาวแปลงชื่อเป็น R.drawable.ids? และการบำรุงรักษาได้อย่างไร


ห้องสมุดนี้จะเสนอวิธีรอบโดยใช้สะท้อนการเข้าถึง drawable โดยตรงโดยใช้ชื่อ คุณจะต้องรวมถึงพวกเขาตามปกติเป็นต้นไม้โฟลเดอร์ละเอียดของคุณ จะได้รับการวัดประสิทธิผลที่สูงถึง 5 เท่าเร็วกว่า 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หน้าจอขั้นต่ำ: SMALLCPU ที่รองรับ:
ID ของแพคเกจ: 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): EssexID ของแพคเกจ: 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 ขนาด
ดาวน์โหลด
appcoins-gift
เกมส์โบนัสรับรางวัลมากยิ่งขึ้น!
เพิ่มเติม
Mahjong - Match Puzzle game
Mahjong - Match Puzzle game icon
ดาวน์โหลด
Merge County®
Merge County® icon
ดาวน์โหลด
Age of Apes
Age of Apes icon
ดาวน์โหลด
Puzzle Game-Water Sort Puzzle
Puzzle Game-Water Sort Puzzle icon
ดาวน์โหลด
Tiles Connect - Match Masters
Tiles Connect - Match Masters icon
ดาวน์โหลด
Color Link
Color Link icon
ดาวน์โหลด
Wordy: Collect Word Puzzle
Wordy: Collect Word Puzzle icon
ดาวน์โหลด
One Touch Draw
One Touch Draw icon
ดาวน์โหลด
Idle Angels: Season of Legends
Idle Angels: Season of Legends icon
ดาวน์โหลด
Match3D - Triple puzzle game
Match3D - Triple puzzle game icon
ดาวน์โหลด
Bingo Classic - เกมบิงโก
Bingo Classic - เกมบิงโก icon
ดาวน์โหลด