PanelContextFactory

@IviExperimental(reasons = [])
abstract class PanelContextFactory<out C : PanelContext>

A factory for a panel context of type C.

createInner is invoked to create a panel context.

See MutablePanelContextFactory to create a custom panel context.

Custom implementations can create a custom panel context that extends the CommonPanelContext through delegation. For example:

public class CustomPanelStackContext(
commonPanelContext: CommonPanelContext,
) : CommonPanelContext by commonPanelContext

Inheritors

Constructors

Link copied to clipboard
constructor()