Package-level declarations
Types
Link copied to clipboard
class AndroidViewBlock<Presentation : View>(factory: (Context) -> Presentation, update: suspend (Presentation) -> Unit) : ViewBlock
A ViewBlock implementation for Android views.
Link copied to clipboard
Link copied to clipboard
A ViewBlock implementation for Compose UI components.
Link copied to clipboard
A ViewBlock that represents a default view block.
Link copied to clipboard
A ViewBlock that represents a hidden or non-rendered view block.
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun ComposeView.initWithContent(insetMask: Int = WindowInsetsCompat.Type.systemBars(), content: @Composable () -> Unit)
Link copied to clipboard
Link copied to clipboard
inline fun <VM : ViewModel> koinViewModel(storeOwner: ViewModelStoreOwner = requireNotNull(LocalViewModelStoreOwner.current), viewTreeScopeOwner: Scope = requireNotNull(LocalViewTreeScopeOwner.current), noinline parameters: ParametersDefinition? = null): VM
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Modifier.shadow(blur: Dp = 8.dp, offsetX: Dp = 0.dp, offsetY: Dp = 4.dp, alpha: Float = MAX_SHADOW_ALPHA, shape: Shape = RectangleShape): Modifier
Unlike androidx.compose.ui.draw.shadow, this modifier does not draw behind transparent surfaces, has predictable direction and allows for more customization
Link copied to clipboard
inline fun ViewBlockComposer(viewBlock: ViewBlock, defaultBlock: @Composable () -> Unit, loadingViewBlock: @Composable () -> Unit)