public static void addActivityListener(ActivityListener listener){
  if (listener != null) {
    startTracking();
    listeners.add(listener);
  }
}

public static void addActivityListener ( ActivityListener listener ) { if ( listener != null ) { startTracking ( ) ; listeners . add ( listener ) ; } }
adds a listener that will be informed one time about user activity , then removed .
