public interface

TabTemplate.TabCallback

 androidx.car.app.model.TabTemplate.TabCallback

Overview

A listener for tab selection.

Summary

Methods
public voidonTabSelected(java.lang.String tabContentId)

Notifies the selected Tab has changed.

Methods

public void onTabSelected(java.lang.String tabContentId)

Notifies the selected Tab has changed.

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

Parameters:

tabContentId: the content ID of the selected tab.