public void onCreate(Activity activity,boolean asLanding){
synchronized (activities) {
    activities.add(new ActivityHolder(activity,asLanding));
  }
}

public void onCreate ( Activity activity , boolean asLanding ) { synchronized ( activities ) { activities . add ( new ActivityHolder ( activity , asLanding ) ) ; } }
appends array , which holds instance of activities , and specifies if given activity is landing one or not . # this method is just to keep track has no affect on given activity
