Reflective Drawable Loader
Alexandros Schillings- PEGI 3Clasificación por edad
- HerramientasCategoría
- 27/7/2015Actualizado
- GratisPrecio
Enlaza a la ficha oficial de co.uk.alt236.reflectivedrawableloader.sampleapp en Google Play. Última comprobación el 1/12/2026.
Acerca de esta aplicación
Traducción automática de Google. Idioma original: Inglés (Estados Unidos).
Proyecto de muestra que demuestra el uso de la Biblioteca Reflective Drawable Loader
Este es un proyecto de ejemplo que muestra el uso de la Drawable cargadora Biblioteca reflectante.
La biblioteca (y el código) se puede encontrar aquí: https://github.com/alt236/Reflective-Drawable-Loader---Android
Descripción del Proyecto
---
¿Estuvo alguna vez en una situación en la que había que acceder Elementos de dibujo basado en sus nombres (por ejemplo, si los nombres Drawable se almacenan en una base de datos) y que tenía que escribir largas tablas de búsqueda de convertir los nombres en R.drawable.ids? Y su mantenimiento?
Esta biblioteca ofrece una manera alrededor de ella mediante el uso de la reflexión para tener acceso al Drawable directamente por su nombre. Sólo es necesario incluirlos como normales en su árbol de carpetas Res. Se ha referenciado en hasta 5 veces más rápido que el método de la plataforma Resources.getIdentifier ().
Se está utilizando el almacenamiento en caché LRU para mitigar el tiempo de sobrecarga de reflexión tanto para la reflexión "hits" y los "accidentes".
La biblioteca (y el código) se puede encontrar aquí: https://github.com/alt236/Reflective-Drawable-Loader---Android
Descripción del Proyecto
---
¿Estuvo alguna vez en una situación en la que había que acceder Elementos de dibujo basado en sus nombres (por ejemplo, si los nombres Drawable se almacenan en una base de datos) y que tenía que escribir largas tablas de búsqueda de convertir los nombres en R.drawable.ids? Y su mantenimiento?
Esta biblioteca ofrece una manera alrededor de ella mediante el uso de la reflexión para tener acceso al Drawable directamente por su nombre. Sólo es necesario incluirlos como normales en su árbol de carpetas Res. Se ha referenciado en hasta 5 veces más rápido que el método de la plataforma Resources.getIdentifier ().
Se está utilizando el almacenamiento en caché LRU para mitigar el tiempo de sobrecarga de reflexión tanto para la reflexión "hits" y los "accidentes".
Mostrar el texto original
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".
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".
Seguridad de los datos
Lo que Alexandros Schillings declara en Google Play sobre los datos que esta aplicación recopila y comparte.
- No se comparten datos con tercerosMás información sobre cómo los desarrolladores declaran lo que comparten
- No se recogen datosMás información sobre cómo los desarrolladores declaran lo que recogen
Novedades
Versión 0.0.3 · 27/7/2015
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.
v0.0.2 Bugfixes, added caching of the resource classes in ReflectionUtils.
v0.0.3 Added caching of non-existing drawable requests.
Contacto del desarrollador
- Sitio webaschillings.co.uk
- Correo electrónicoaschillings.dev@gmail.com
- Política de privacidadaschillings.co.uk
- Dirección33 Craufurd Rise MAINDENHEAD SL67LR United Kingdom
Información
- Ofrecida por
- Alexandros Schillings
- Categoría
- Herramientas
- Versión
- 0.0.3
- Actualizado
- 27/7/2015
- Publicado
- 4/12/2013
- Requiere
- Android 2.2 o posterior
- Clasificación por edad
- PEGI 3
- Precio
- Gratis
- Nombre del paquete
- co.uk.alt236.reflectivedrawableloader.sampleapp

