Interface: ImageLoader


CloudControl Pro 9 Docs / ui/res / ImageLoader

Interface: ImageLoader

ui/res.ImageLoader

Table of contents

Methods

Methods

cancel

cancel(view): void

Parameters

Name Type
view View

Returns

void


clearDiskCache

clearDiskCache(): void

Returns

void


clearMemoryCache

clearMemoryCache(): void

Returns

void


loadImageBitmap

loadImageBitmap(view, uri): Promise<Bitmap>

Parameters

Name Type
view View
uri String

Returns

Promise<Bitmap>


loadImageDrawable

loadImageDrawable(view, uri): Promise<Drawable>

Parameters

Name Type
view View
uri String

Returns

Promise<Drawable>


loadImageInto

loadImageInto(imageView, uri): Promise<void>

Parameters

Name Type
imageView ImageView
uri String

Returns

Promise<void>


loadImageIntoBackground

loadImageIntoBackground(view, uri): Promise<void>

Parameters

Name Type
view View
uri String

Returns

Promise<void>