Reflective Drawable Loader

Reflective Drawable Loader

Alexandros Schillings
2016年01月19日

Trusted App

  • 407.2 KB

    文件大小

  • Everyone

  • Android 2.2+

    Android OS

關於Reflective Drawable Loader

示例項目演示了Reflective Drawable Loader Library的使用

這是一個示例項目演示了如何使用反光繪製對象裝載機圖書館。

庫(和代碼)可以在這裡找到:https://github.com/alt236/Reflective-Drawable-Loader---Android

項目介紹

---

在一個情況下,你必須訪問可繪製對象的基礎上他們的名字(例如,如果繪製對象名稱存儲在DB)曾經是你的話,你不得不寫長長的查找表轉換成名稱R.drawable.ids?和維護他們?

這個庫是通過使用反射來直接通過名稱訪問可繪製對象提供變通的辦法。你只需要把它們作為正常到你的res文件夾樹。據基準在高達5倍比平台的Resources.getIdentifier()方法更快。

它使用LRU緩存來減輕反射時間開銷為反思“點擊”和“失誤”。

更多

最新版本0.0.3的更新日誌

Last updated on 2016年01月19日
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.
更多

視頻和屏幕截圖

  • Reflective Drawable Loader 海報
  • Reflective Drawable Loader 截圖 1

Reflective Drawable Loader APK信息

最新版本
0.0.3
類別
工具
Android OS
Android 2.2+
文件大小
407.2 KB
Available on
內容分級
Everyone
在APKPure安全快速地下載APK
APKPure 使用簽章驗證功能,確保為您提供無病毒的 Reflective Drawable Loader APK 下載。

Reflective Drawable Loader歷史版本

APKPure 圖標

在APKPure極速安全下載應用程式

一鍵安裝安卓XAPK/APK文件!

下載 APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies