Many times, I don't want to restart a request when a view is attached to a window,Currently, I need to manually call View.dispose() to unbind the request
ivHead.load("...")
val parent = ivHead.parent as? ViewGroup
parent?.removeView(ivHead)
//it will restart a request, This is not what I expected
parent?.addView(ivHead)
By the way,Glide won't restart a request when a view is attached to a window,