public void swap(int original,int newPosition){
  Song temp=mSongs.get(original);
  Song newSong=mSongs.get(newPosition);
  mSongs.set(original,newSong);
  mSongs.set(newPosition,temp);
  int tempVis=mVisible.get(original);
  mVisible.set(original,mVisible.get(newPosition));
  mVisible.set(newPosition,tempVis);
  int tempId=mIds.get(original);
  mIds.set(original,mIds.get(newPosition));
  mIds.set(newPosition,tempId);
  super.notifyDataSetChanged();
}

public void swap ( int original , int newPosition ) { Song temp = mSongs . get ( original ) ; Song newSong = mSongs . get ( newPosition ) ; mSongs . set ( original , newSong ) ; mSongs . set ( newPosition , temp ) ; int tempVis = mVisible . get ( original ) ; mVisible . set ( original , mVisible . get ( newPosition ) ) ; mVisible . set ( newPosition , tempVis ) ; int tempId = mIds . get ( original ) ; mIds . set ( original , mIds . get ( newPosition ) ) ; mIds . set ( newPosition , tempId ) ; super . notifyDataSetChanged ( ) ; }
swaps two elements and their properties
