public void addSlide(@NonNull Fragment fragment,@ColorInt int color){
  fragments.add(fragment);
  addBackgroundColor(color);
  pagerAdapter.notifyDataSetChanged();
}

public void addSlide ( @ NonNull Fragment fragment , @ ColorInt int color ) { fragments . add ( fragment ) ; addBackgroundColor ( color ) ; pagerAdapter . notifyDataSetChanged ( ) ; }
add a slide to the intro
