Package com.tomtom.ivi.platform.debug.api.frontendextension.debugtab

Contains tools to ease the addition of debug tabs to the debug panel.

Types

Link copied to clipboard
abstract class DebugTabFragment<VM : FrontendViewModel<TabbedDebugPanel>>(viewModelClass: KClass<VM>) : IviFragment<TabbedDebugPanel, VM>

Base class for creating a debug tab. It will be shown on the DebugPanel when added to its collection of debug tabs.

Link copied to clipboard
typealias DebugTabFragmentKClass = KClass<out DebugTabFragment<*>>

Alias to improve the readability of DebugTabFragments when registering them.

Link copied to clipboard
data class DebugTabFrontendExtension(val tabClass: DebugTabFragmentKClass, @StringRes val titleResourceId: Int) : FrontendExtension

A FrontendExtension to add a tab to the debug panel.

Link copied to clipboard
interface DebugTabPanelManager

An interface that allows debug tabs to access and modify panels within the debug frontend.

Link copied to clipboard
abstract class TabbedDebugPanel(frontendContext: FrontendContext) : DebugPanel

A base class for a debug panel showing DebugTabFragments.

Functions

Link copied to clipboard
fun Context.restartApplication()

Restart the application with the restart activity.