TemplateImageButton

class TemplateImageButton : TemplateButton


An image based TemplateButton.

Summary

Public constructors

Public functions

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

Public properties

TemplateImageWithDescription

The button image

Inherited properties

From androidx.glance.template.TemplateButton
Action

The action to take when this button is clicked.

Public constructors

TemplateImageButton

Added in 1.0.0-alpha06
TemplateImageButton(action: Action, image: TemplateImageWithDescription)
Parameters
action: Action

The onClick action

image: TemplateImageWithDescription

The button image

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

image

Added in 1.0.0-alpha06
val imageTemplateImageWithDescription

The button image