submit

open fun submit(): FutureTarget<TranscodeType>

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

This method defaults to SIZE_ORIGINAL for the width and the height. However, since the width and height will be overridden by values passed to override, this method can be used whenever RequestOptions with override values are applied, or whenever you want to retrieve the image in its original size.

See also


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

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

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).