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

Reflective Drawable Loader

Alexandros Schillings
Trustable Ranking IconDe Confiança
1K+Transferências
417kBTamanho
Android Version Icon2.2.x+
Versão Android
0.0.3(13-07-2016)Última versão
-
(0 Avaliações)
Age ratingPEGI-3
Descarregar
DetalhesAvaliaçõesVersõesInfo
1/2

Descrição de 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">Este é um projeto de exemplo que demonstra o uso do Reflective Drawable Carregador Library.


A biblioteca (e código) pode ser encontrada aqui: https://github.com/alt236/Reflective-Drawable-Loader---Android


Descrição do Projeto


---


Você já foi em uma situação onde você teve para acessar Drawables com base em seus nomes (por exemplo, se os nomes Drawable são armazenados em um banco de dados) e você tinha que escrever tabelas de pesquisa de longo converter os nomes em R.drawable.ids? E mantê-los?


Esta biblioteca está oferecendo uma maneira de contornar isso, usando reflexão para acessar o Drawable diretamente pelo nome. Você só precisa incluí-los como normal em sua árvore de pastas Res. Foi aferido em até 5 vezes mais rápido do que o método da plataforma Resources.getIdentifier ().


Ele está usando LRU cache para reduzir o tempo de sobrecarga de reflexão para ambos reflexão "hits" e "acidentes".</div> <div class="show-more-end">

Reflective Drawable Loader - Versão 0.0.3

(13-07-2016)
Outras versões
Novidadesv0.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.

Ainda não há avaliações ou classificações! Para deixares a primeira, por favor

-
0 Reviews
5
4
3
2
1

Reflective Drawable Loader - Informação APK

Versão APK: 0.0.3Pacote: co.uk.alt236.reflectivedrawableloader.sampleapp
Compatibilidade com Android: 2.2.x+ (Froyo)
Programador:Alexandros SchillingsPolítica de Privacidade:http://aschillings.co.uk/html/privacy.htmlPermissões:0
Nome: Reflective Drawable LoaderTamanho: 417 kBTransferências: 2Versão : 0.0.3Data de lançamento: 2020-05-19 08:03:28Ecrã mínimo: SMALLCPU Suportado:
ID do Pacote: co.uk.alt236.reflectivedrawableloader.sampleappAssinatura SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4FProgramador (CN): Alexandros SchillingsOrganização (O): alt236Localização (L): ColchesterPaís (C): UKEstado/Cidade (ST): EssexID do Pacote: co.uk.alt236.reflectivedrawableloader.sampleappAssinatura SHA1: 1A:68:EE:08:0B:87:A7:45:94:B9:76:73:ED:74:EC:56:30:83:43:4FProgramador (CN): Alexandros SchillingsOrganização (O): alt236Localização (L): ColchesterPaís (C): UKEstado/Cidade (ST): Essex

Última Versão de Reflective Drawable Loader

0.0.3Trust Icon Versions
13/7/2016
2 transferências417 kB Tamanho
Descarregar