🚧 Under construction! This documentation is still being written.
By default, any container that renders a data collection (such as
GridView) uses the
ItemRenderer class to display each item from its collection. However, translating from design to code sometimes requires more advanced capabilities for layout and styling than the basic
ItemRenderer can provide. In these situations, a developer can create a custom item renderer for the data container.
The easiest option for creating a custom item renderer is to subclass
LayoutGroupItemRenderer. This component provides the same background skins with multiple states as
ItemRenderer, but it is based on the
LayoutGroup component, which allows any number of children to be added with support for layouts.
Developers that need lower-level customization may create a class-based custom item renderer.