Skip to content

RtkTabSyncToggleButton

A toggle button for syncing plugin tabs.

Methods

MethodParametersDescription
applyDesignTokensdesignTokens: RtkDesignTokensApply custom design tokens for theming

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.RtkTabSyncToggleButton
android:id="@+id/rtk_tab_sync"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

With Methods

Kotlin
val tabSyncButton = findViewById<RtkTabSyncToggleButton>(R.id.rtk_tab_sync)
tabSyncButton.isActivated = true