TemplateTextButton

class TemplateTextButton : TemplateButton


A text based TemplateButton.

Summary

Public constructors

TemplateTextButton(action: Action, text: String)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

String

The button display text

Inherited properties

From androidx.glance.template.TemplateButton
Action

The action to take when this button is clicked.

Public constructors

TemplateTextButton

Added in 1.0.0-alpha06
TemplateTextButton(action: Action, text: String)
Parameters
action: Action

The onClick action

text: String

The button display text

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

text

Added in 1.0.0-alpha06
val textString

The button display text