GlimpseView

@Composable
fun GlimpseView(    onCreate: <Error class: unknown class>.() -> Unit,     onResize: <Error class: unknown class>.(Offset, Size) -> Unit,     onRender: <Error class: unknown class>.() -> Unit,     onDestroy: <Error class: unknown class>.() -> Unit,     modifier: Modifier = Modifier,     onClick: () -> Unit? = null,     update: GlimpseViewScope.() -> Unit = NoOpUpdate)

A GlimpseView displays content rendered using GlimpseAdapter.

Since

v1.1.0

Parameters

onCreate

Called when this GlimpseView is being initialized.

onResize

Called when this GlimpseView is resized.

onRender

Called on each frame when the contents of this GlimpseView are being rendered.

onDestroy

Called when this GlimpseView is being destroyed.

modifier

The modifier to be applied to the layout.

onClick

Called when the user clicks on this GlimpseView.

update

The callback to be invoked after the layout is inflated.


@Composable
expect fun GlimpseView(    callback: <Error class: unknown class>,     modifier: Modifier = Modifier,     onClick: () -> Unit? = null,     update: GlimpseViewScope.() -> Unit = NoOpUpdate)

A GlimpseView displays content rendered using GlimpseAdapter and GlimpseCallback.

Parameters

callback

The rendering GlimpseCallback.

modifier

The modifier to be applied to the layout.

onClick

Called when the user clicks on this GlimpseView.

update

The callback to be invoked after the layout is inflated.