TabTemplate.TabCallback


interface TabTemplate.TabCallback


A listener for tab selection.

Summary

Public functions

Unit
onTabSelected(tabContentId: String)

Notifies the selected Tab has changed.

Public functions

onTabSelected

Added in 1.3.0
fun onTabSelected(tabContentId: String): Unit

Notifies the selected Tab has changed.

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

Parameters
tabContentId: String

the content ID of the selected tab.