Tag Archives: DataRenderer

Using DataRenderer to add custom states to a spark List renderer

ItemRenderer has logic built in that changes between some standard states like normal, hovered, selected, etc. You can supplement this logic by overriding ItemRenderer.getCurrentRendererState(), or do away with the built in states altogether by subclassing DataRenderer instead of ItemRenderer.
Continue reading Using DataRenderer to add custom states to a spark List renderer