SelectionRegistrar

interface SelectionRegistrar
androidx.ui.core.selection.SelectionRegistrar

An interface allowing a composable to subscribe and unsubscribe to selection changes.

Summary

Public methods

abstract Selectable
subscribe(selectable: Selectable)

Subscribe to SelectionContainer selection changes.

abstract Unit
unsubscribe(selectable: Selectable)

Unsubscribe from SelectionContainer selection changes.

Public methods

subscribe

abstract fun subscribe(selectable: Selectable): Selectable

Subscribe to SelectionContainer selection changes.

unsubscribe

abstract fun unsubscribe(selectable: Selectable): Unit

Unsubscribe from SelectionContainer selection changes.