toggle menu
ZappBase
androidJvm
switch theme
search in API
Databinding
/
com.zappstudio.databinding.ui.context
/
ZappBaseCustomToolbarActivity
/
ActionButton
Action
Button
data
class
ActionButton
(
val
icon
:
LiveData
<
Int
>
=
MutableLiveData(0)
,
val
action
:
(
)
->
Unit
,
val
isSelected
:
LiveData
<
Boolean
>
=
MutableLiveData(false)
,
val
tint
:
Int
?
=
null
,
val
contentDescription
:
LiveData
<
String
>
?
=
MutableLiveData()
)
Members
Constructors
Action
Button
Link copied to clipboard
constructor
(
icon
:
Int
,
action
:
(
)
->
Unit
,
isSelected
:
Boolean
=
false
,
tint
:
Int
?
=
null
,
contentDescription
:
String
?
=
null
)
constructor
(
icon
:
LiveData
<
Int
>
=
MutableLiveData(0)
,
action
:
(
)
->
Unit
,
isSelected
:
LiveData
<
Boolean
>
=
MutableLiveData(false)
,
tint
:
Int
?
=
null
,
contentDescription
:
LiveData
<
String
>
?
=
MutableLiveData()
)
Properties
action
Link copied to clipboard
val
action
:
(
)
->
Unit
content
Description
Link copied to clipboard
val
contentDescription
:
LiveData
<
String
>
?
icon
Link copied to clipboard
val
icon
:
LiveData
<
Int
>
is
Selected
Link copied to clipboard
val
isSelected
:
LiveData
<
Boolean
>
tint
Link copied to clipboard
val
tint
:
Int
?
=
null