TargetTracker

class TargetTracker : LifecycleListener

Holds the set of Targets currently active for a com.bumptech.glide.RequestManager and forwards on lifecycle events.

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun getAll(): List<Target<out Any>>
Link copied to clipboard
open fun onDestroy()
Callback for when onDestroy} or onDestroy is called.
Link copied to clipboard
open fun onStart()
Callback for when onStart} or onStart is called.
Link copied to clipboard
open fun onStop()
Callback for when onStop} or onStop} is called.
Link copied to clipboard
open fun track(target: Target<out Any>)
Link copied to clipboard
open fun untrack(target: Target<out Any>)