image Viewer

fun Context.imageViewer(    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

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