Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 64
Registered: ‎04-25-2012
My Device: 9000
My Carrier: Airtel
Accepted Solution

List Implementation

[ Edited ]



i have to implement a list with a  colored  rectangles   and a label field contatining that color value and it will be for atleast 20 rows with different colored rectangles.so,now my problem is, i cant implement that graphics in those list..wat should i do to achieve this?can anyone help me through this?




Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: List Implementation

Use Cell Renderer which will be defined for per row. 

In this cell renderer draw a rect using Sprite & add a label. 


In list dataProvider you can set cell color & its label value.