onImageLoad

fun onImageLoad(callback: () -> Unit): BannerView(source)

Set a callback to be invoked when the banner image is successfully loaded.

Return

this BannerView instance for method chaining

Parameters

callback

function to invoke when the image is loaded