toggle menu
OpenSRP
androidJvm
switch theme
search in API
engine
/
org.smartregister.fhircore.engine.domain.model
/
OverflowMenuItemConfig
Overflow
Menu
Item
Config
@
Serializable
data
class
OverflowMenuItemConfig
(
val
id
:
Int
=
1
,
val
title
:
String
=
""
,
val
confirmAction
:
Boolean
=
false
,
val
icon
:
ImageConfig
?
=
null
,
val
titleColor
:
String
=
BLACK_COLOR_HEX_CODE
,
val
backgroundColor
:
String
?
=
null
,
val
visible
:
String
,
val
showSeparator
:
Boolean
=
false
,
val
enabled
:
String
=
TRUE
,
val
actions
:
List
<
ActionConfig
>
=
emptyList()
)
:
Parcelable
,
Serializable
Members
Constructors
Overflow
Menu
Item
Config
Link copied to clipboard
constructor
(
id
:
Int
=
1
,
title
:
String
=
""
,
confirmAction
:
Boolean
=
false
,
icon
:
ImageConfig
?
=
null
,
titleColor
:
String
=
BLACK_COLOR_HEX_CODE
,
backgroundColor
:
String
?
=
null
,
visible
:
String
,
showSeparator
:
Boolean
=
false
,
enabled
:
String
=
TRUE
,
actions
:
List
<
ActionConfig
>
=
emptyList()
)
Properties
actions
Link copied to clipboard
val
actions
:
List
<
ActionConfig
>
background
Color
Link copied to clipboard
val
backgroundColor
:
String
?
=
null
confirm
Action
Link copied to clipboard
val
confirmAction
:
Boolean
=
false
enabled
Link copied to clipboard
val
enabled
:
String
icon
Link copied to clipboard
val
icon
:
ImageConfig
?
=
null
id
Link copied to clipboard
val
id
:
Int
=
1
show
Separator
Link copied to clipboard
val
showSeparator
:
Boolean
=
false
title
Link copied to clipboard
val
title
:
String
title
Color
Link copied to clipboard
val
titleColor
:
String
visible
Link copied to clipboard
val
visible
:
String
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
interpolate
Link copied to clipboard
fun
interpolate
(
computedValuesMap
:
Map
<
String
,
Any
>
)
:
OverflowMenuItemConfig
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)