public void addItem(int position,Object o){
  if (!isDataListEmpty() && position >= 0 && position <= mDataList.size()) {
    mDataList.add(position,o);
    notifyItemInserted(position);
  }
}

public void addItem ( int position , Object o ) { if ( ! isDataListEmpty ( ) && position >= 0 && position <= mDataList . size ( ) ) { mDataList . add ( position , o ) ; notifyItemInserted ( position ) ; } }
inserted an item to position
