I am making a listview for Nokia Asha Devices(310 ,311 and 501) using lwuit.
I was successful to write my own CustomListCellRender class with an icon and a text. Now i want to have a rectangle on the listview cell and for that i drew a rectangle.
rectangle was good but now i want to generate a event when user clicks on the rectangle how i can get that event ??
To give more details i have overided the paint method and drawn the icon, lable and rectangle inside it !!