Class TargetTracker

    • Constructor Summary

      Constructors 
      Constructor Description
      TargetTracker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      java.util.List<Target<?>> getAll()  
      void onDestroy()
      Callback for when Fragment.onDestroy()} or Activity.onDestroy() is called.
      void onStart()
      Callback for when Fragment.onStart()} or Activity.onStart() is called.
      void onStop()
      Callback for when Fragment.onStop()} or Activity.onStop()} is called.
      void track​(Target<?> target)  
      void untrack​(Target<?> target)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TargetTracker

        public TargetTracker()
    • Method Detail

      • track

        public void track​(@NonNull
                          Target<?> target)
      • untrack

        public void untrack​(@NonNull
                            Target<?> target)
      • onStart

        public void onStart()
        Description copied from interface: LifecycleListener
        Callback for when Fragment.onStart()} or Activity.onStart() is called.
        Specified by:
        onStart in interface LifecycleListener
      • onStop

        public void onStop()
        Description copied from interface: LifecycleListener
        Callback for when Fragment.onStop()} or Activity.onStop()} is called.
        Specified by:
        onStop in interface LifecycleListener
      • onDestroy

        public void onDestroy()
        Description copied from interface: LifecycleListener
        Callback for when Fragment.onDestroy()} or Activity.onDestroy() is called.
        Specified by:
        onDestroy in interface LifecycleListener
      • getAll

        @NonNull
        public java.util.List<Target<?>> getAll()
      • clear

        public void clear()