public
int getCount()
{
return
mServiceBeans ==
null
? 0 : mServiceBeans.size();
}
/**
*
Get item.
*
*
@param position
*
@return the item according to the position.
*/
public
Object getItem(int position)
{
return
mServiceBeans ==
null
?
null
: mServiceBeans.get(position);
}