public interface TabPreviewListener
Modifier and Type | Method and Description |
---|---|
boolean |
onLoadTabPreview(TabSwitcher tabSwitcher,
Tab tab)
The method, which is invoked, when the preview of a tab is about to be loaded.
|
boolean onLoadTabPreview(@NonNull TabSwitcher tabSwitcher, @NonNull Tab tab)
tabSwitcher
- The tab switcher, which contains the tab, whose preview is about to be loaded, as an
instance of the class TabSwitcher
. The tab switcher may not be nulltab
- The tab, whose preview is about to be loaded, as an instance of the class Tab
. The tab may not be null