getSelectedTab

@Nullable
abstract fun getSelectedTab(): @Nullable ActionBar.Tab(source)

Deprecated

Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.

Returns the currently selected tab if in tabbed navigation mode and there is at least one tab present.

Return

The currently selected tab or null