Openable
interface Openable
androidx.customview.widget.Openable |
A layout that has two states: opened and closed.
Summary
Public methods | |
---|---|
abstract Unit |
close() Move the layout to the closed state. |
abstract Boolean |
isOpen() Check if the layout is currently in the opened state. |
abstract Unit |
open() Move the layout to the opened state. |
Public methods
isOpen
abstract fun isOpen(): Boolean
Check if the layout is currently in the opened state.
Return | |
---|---|
Boolean |
true if the layout's state is considered opened. |