If the class implement IDropInListItemRenderer , then you can access the listData and use the rowIndex property. If the class doesn't implement it , you will have to look at the interface and implement it yourself. Once you get it you can do something like this.
public function someFunct():void
if ( this.listData.rowIndex == 0 )