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

Reflective Drawable Loader

Alexandros Schillings
Trustable Ranking IconTin cậy
1K+Tải về
417kBKích thước
Android Version Icon2.2.x+
Phiên bản Android
0.0.3(13-07-2016)Phiên bản mới nhất
-
(0 Đánh giá)
Age ratingPEGI-3
Tải về
Chi tiếtĐánh giáPhiên bảnthông tin
1/2

Mô tả của 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">Đây là một dự án mẫu thể hiện việc sử dụng các drawable Thư viện Loader phản quang.


Thư viện (và mã số) có thể được tìm thấy ở đây: https://github.com/alt236/Reflective-Drawable-Loader---Android


Mô tả dự án


---


Bạn có bao giờ trong một tình huống mà bạn đã truy cập Drawables dựa trên tên của họ (ví dụ nếu tên drawable được lưu trữ trong một DB) và bạn phải viết các bảng tra cứu dài chuyển đổi tên thành R.drawable.ids? Và duy trì chúng?


Thư viện này được cung cấp một cách xung quanh nó bằng cách sử dụng phản ánh để truy drawable trực tiếp bằng tên. Bạn chỉ cần bao gồm chúng như bình thường vào cây thư mục Res của bạn. Nó đã được quy chuẩn lên đến 5x nhanh hơn Resources.getIdentifier () phương pháp của nền tảng.


Nó được sử dụng LRU bộ nhớ đệm để giảm thiểu thời gian phản ánh trên không cho cả hai phản ánh "hit" và "bỏ lỡ".</div> <div class="show-more-end">

Reflective Drawable Loader - Phiên bản 0.0.3

(13-07-2016)
Phiên bản khác
Có gì mớiv0.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.

Không có đánh giá hoặc xếp hạng nào! Để rời khỏi trang đầu tiên, vui lòng

-
0 Reviews
5
4
3
2
1

Reflective Drawable Loader - Thông tin APK

Phiên bản APK: 0.0.3Gói: co.uk.alt236.reflectivedrawableloader.sampleapp
Khả năng tương thích với Android: 2.2.x+ (Froyo)
Lập trình viên:Alexandros SchillingsChính sách riêng tư:http://aschillings.co.uk/html/privacy.htmlGiấy phép:0
Tên: Reflective Drawable LoaderKích thước: 417 kBTải về: 2Phiên bản: : 0.0.3Ngày phát hành: 2020-05-19 08:03:28Màn hình tối thiểu: SMALLCPU được hỗ trợ:
ID gói: co.uk.alt236.reflectivedrawableloader.sampleappChữ ký SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4FLập trình viên (CN): Alexandros SchillingsTổ chức (O): alt236Địa phương (L): ColchesterQuốc gia (C): UKBang / Thành phố (ST): EssexID gói: co.uk.alt236.reflectivedrawableloader.sampleappChữ ký SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4FLập trình viên (CN): Alexandros SchillingsTổ chức (O): alt236Địa phương (L): ColchesterQuốc gia (C): UKBang / Thành phố (ST): Essex

Phiên bản mới nhất của Reflective Drawable Loader

0.0.3Trust Icon Versions
13/7/2016
2 tải về417 kB Kích thước
Tải về