TabTemplate.TabCallback


public interface TabTemplate.TabCallback


A listener for tab selection.

Summary

Public methods

default void
onTabSelected(@NonNull String tabContentId)

Notifies the selected Tab has changed.

Public methods

onTabSelected

Added in 1.3.0
default void onTabSelected(@NonNull String tabContentId)

Notifies the selected Tab has changed.

The host invokes this callback as the user selects a tab.

Parameters
@NonNull String tabContentId

the content ID of the selected tab.