Skip to content

RtkTabSyncToggleButton

Last updated View as MarkdownAgent setup

A toggle button for syncing plugin tabs.

Methods

Method Parameters Description
applyDesignTokens designTokens: RtkDesignTokens Apply 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

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

Was this helpful?