PreviewerLayerScope
class PreviewerLayerScope(var viewerContainer: @Composable (page: Int, viewerState: ImageViewerState, viewer: @Composable () -> Unit) -> Unit = { _, _, viewer -> viewer() }, var background: @Composable (page: Int) -> Unit = { _ -> defaultPreviewBackground() }, var foreground: @Composable (page: Int) -> Unit = { _ -> }, var placeholder: PreviewerPlaceholder = PreviewerPlaceholder())
Deprecated
com.origeek.imageViewer下的全部类和方法均已弃用! 请使用新版本:com.jvziyaoyao.viewer。
预览图层对象
Constructors
Link copied to clipboard
constructor(viewerContainer: @Composable (page: Int, viewerState: ImageViewerState, viewer: @Composable () -> Unit) -> Unit = { _, _, viewer -> viewer() }, background: @Composable (page: Int) -> Unit = { _ -> defaultPreviewBackground() }, foreground: @Composable (page: Int) -> Unit = { _ -> }, placeholder: PreviewerPlaceholder = PreviewerPlaceholder())
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var viewerContainer: @Composable (page: Int, viewerState: ImageViewerState, viewer: @Composable () -> Unit) -> Unit