public void addSlide(@NonNull Fragment fragment){
  fragments.add(fragment);
  addBackgroundColor(Color.TRANSPARENT);
  pagerAdapter.notifyDataSetChanged();
}

public void addSlide ( @ NonNull Fragment fragment ) { fragments . add ( fragment ) ; addBackgroundColor ( Color . TRANSPARENT ) ; pagerAdapter . notifyDataSetChanged ( ) ; }
add a slide to the intro
