ListCellFactory GeneralListCellFactory let you can just specified a ListCell implemented class and other params to create a ListCellFactory
public function GeneralListCellFactory(listCellClass:Function, shareCelles:Boolean, sameHeight:Boolean, height:Number)
listCellClass | the ListCell implementation, for example com.xlands.ui.list.UserListCell |
shareCelles | (optional)is share cells for list items, default is true. |
sameHeight | (optional)is all cells with same height, default is true. |
height | (optional)the height for all cells if sameHeight, if not sameHeight,
this param can be miss, default is 22.
|
public function createNewCell():ListCellpublic function isAllCellHasSameHeight():Booleanpublic function isShareCells():Booleanpublic function getCellHeight():Number