into

open fun <Y : Target<TranscodeType>?> into(target: Y): Y

Set the target the resource will be loaded into.

Return

The given target.

See also

Parameters

target

The target to load the resource into.


open fun into(view: ImageView): ViewTarget<ImageView, TranscodeType>

Sets the ImageView the resource will be loaded into, cancels any existing loads into the view, and frees any resources Glide may have previously loaded into the view so they may be reused.

Return

The com.bumptech.glide.request.target.Target used to wrap the given .

See also

Parameters

view

The view to cancel previous loads for and load the new resource into.


open fun into(width: Int, height: Int): FutureTarget<TranscodeType>

Returns a future that can be used to do a blocking get on a background thread.

Deprecated

Use submit instead.

See also

Parameters

width

The desired width in pixels, or SIZE_ORIGINAL. This will be overridden by override if previously called.

height

The desired height in pixels, or SIZE_ORIGINAL. This will be overridden by override} if previously called).