boolean isLastPosition(int position){
  return position == (itemList.size() - 1);
}

boolean isLastPosition ( int position ) { return position == ( itemList . size ( ) - 1 ) ; }
returns true if the position is for the last item in itemlist , false otherwise .
