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

Reflective Drawable Loader

Alexandros Schillings
Trustable Ranking IconAffidabile
1K+Download
417kBDimensione
Android Version Icon2.2.x+
Versione Android
0.0.3(13-07-2016)Ultima versione
-
(0 Recensioni)
Age ratingPEGI-3
Scarica
InformazioniRecensioniVersioniInformazioni
1/2

Descrizione di 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">Questo è un progetto di esempio che illustra l'uso del Reflective Drawable Loader Biblioteca.


La biblioteca (e il codice) si possono trovare qui: https://github.com/alt236/Reflective-Drawable-Loader---Android


Descrizione del progetto


---


Eri mai in una situazione in cui si doveva accedere drawable in base al loro nome (per esempio se i nomi Drawable sono memorizzati in un DB) e si doveva scrivere lunghe tabelle di ricerca convertire i nomi in R.drawable.ids? E loro mantenimento?


Questa libreria offre un modo intorno ad esso tramite reflection per accedere al Drawable direttamente per nome. Hai solo bisogno di includerli come normale nel vostro albero delle cartelle Ris. Si è indicizzata fino a 5 volte più veloce rispetto al metodo della piattaforma Resources.getIdentifier ().


Si sta utilizzando LRU caching per ridurre il tempo di overhead di riflessione per entrambe le "hits" di riflessione e "manca".</div> <div class="show-more-end">

Reflective Drawable Loader - Versione 0.0.3

(13-07-2016)
Altre versioni
Che cosa c'è di nuovov0.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.

Non ci sono ancora recensioni né valutazioni! Per essere il primo a lasciare un commento,

-
0 Reviews
5
4
3
2
1

Reflective Drawable Loader - Informazioni APK

Versione APK: 0.0.3Pacchetto: co.uk.alt236.reflectivedrawableloader.sampleapp
Compatibilità Android: 2.2.x+ (Froyo)
Sviluppatore:Alexandros SchillingsInformativa sulla Privacy:http://aschillings.co.uk/html/privacy.htmlAutorizzazioni:0
Nome: Reflective Drawable LoaderDimensione: 417 kBDownload: 2Versione : 0.0.3Data di uscita: 2020-05-19 08:03:28Schermo minimo: SMALLCPU Supportate:
ID del pacchetto: co.uk.alt236.reflectivedrawableloader.sampleappFirma SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4FSviluppatore (CN): Alexandros SchillingsOrganizzazione (O): alt236Localizzazione (L): ColchesterPaese (C): UKStato/città (ST): EssexID del pacchetto: co.uk.alt236.reflectivedrawableloader.sampleappFirma SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4FSviluppatore (CN): Alexandros SchillingsOrganizzazione (O): alt236Localizzazione (L): ColchesterPaese (C): UKStato/città (ST): Essex

Ultima versione di Reflective Drawable Loader

0.0.3Trust Icon Versions
13/7/2016
2 download417 kB Dimensione
Scarica