Package com.bumptech.glide.manager
Class TargetTracker
java.lang.Object
com.bumptech.glide.manager.TargetTracker
- All Implemented Interfaces:
LifecycleListener
Holds the set of
Targets currently active for a RequestManager
and forwards on lifecycle events.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()getAll()voidCallback for whenFragment.onDestroy()} orActivity.onDestroy()is called.voidonStart()Callback for whenFragment.onStart()} orActivity.onStart()is called.voidonStop()Callback for whenFragment.onStop()} orActivity.onStop()} is called.voidvoid
-
Constructor Details
-
TargetTracker
public TargetTracker()
-
-
Method Details
-
track
-
untrack
-
onStart
public void onStart()Description copied from interface:LifecycleListenerCallback for whenFragment.onStart()} orActivity.onStart()is called.- Specified by:
onStartin interfaceLifecycleListener
-
onStop
public void onStop()Description copied from interface:LifecycleListenerCallback for whenFragment.onStop()} orActivity.onStop()} is called.- Specified by:
onStopin interfaceLifecycleListener
-
onDestroy
public void onDestroy()Description copied from interface:LifecycleListenerCallback for whenFragment.onDestroy()} orActivity.onDestroy()is called.- Specified by:
onDestroyin interfaceLifecycleListener
-
getAll
-
clear
public void clear()
-