public interface TabCloseListener
Modifier and Type | Method and Description |
---|---|
boolean |
onCloseTab(TabSwitcher tabSwitcher,
Tab tab)
The method, which is invoked, when a tab is about to be closed by clicking its close button.
|
boolean onCloseTab(@NonNull TabSwitcher tabSwitcher, @NonNull Tab tab)
tabSwitcher
- The tab switcher, the tab belongs to, as an instance of the class TabSwitcher
. The tab switcher may not be nulltab
- The tab, which is about to be closed, as an instance of the class Tab
. The
tab may not be null