public void add(int location,ImageInfo object){
  data.add(location,object);
  notifyItemInserted(location);
}

public void add ( int location , ImageInfo object ) { data . add ( location , object ) ; notifyItemInserted ( location ) ; }
inserts the specified object into the data at the specified location . the object is inserted before the current element at the specified location . if the location is equal to the size of the data , the object is added at the end . if the location is smaller than the size of the data , then all elements beyond the specified location are moved by one location towards the end of the data .
