clear

open fun clear(view: View)

Cancel any pending loads Glide may have for the view and free any resources that may have been loaded for the view.

Note that this will only work if setTag is not called on this view outside of Glide.

See also

Parameters

view

The view to cancel loads and free resources for.

Throws

if an object other than Glide's metadata is put as the view's tag.


open fun clear(target: Target<out Any>)

Cancel any pending loads Glide may have for the target and free any resources (such as s) that may have been loaded for the target so they may be reused.

Parameters

target

The Target to cancel loads for.