Google 致力于为黑人社区推动种族平等。查看具体举措

Openable

public interface Openable

androidx.customview.widget.Openable


A layout that has two states: opened and closed.

Summary

Public methods

abstract void close()

Move the layout to the closed state.

abstract boolean isOpen()

Check if the layout is currently in the opened state.

abstract void open()

Move the layout to the opened state.

Public methods

close

public abstract void close ()

Move the layout to the closed state.

isOpen

public abstract boolean isOpen ()

Check if the layout is currently in the opened state.

Returns
boolean true if the layout's state is considered opened.

open

public abstract void open ()

Move the layout to the opened state.