preview Image

fun previewImage(    ctx: Context,     listImage: List<String>,     position: Int = 0,     loader: (ImageView, String) -> Unit,     onDismiss: () -> Unit? = null)

method to preview image

Author

Jimly A.

Since

23-Jun-21

Parameters

ctx

context where the preview will be inflated

listImage

list of String of image to preview

position

position of image to inflate, default 0

loader

action to load the image

onDismiss

action when the preview dismissed

Sources

Link copied to clipboard