stripe-android
payments-ui-core
/
com.stripe.android.ui.core.elements
/
TextFieldIcon
/
Trailing
Trailing
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
Trailing
(
@
DrawableRes
val
idRes
:
Int
,
@
StringRes
val
contentDescription
:
Int
?
=
null
,
val
isTintable
:
Boolean
,
val
onClick
:
(
)
->
Unit
?
=
null
)
:
TextFieldIcon
Content copied to clipboard
Constructors
Properties
Constructors
Trailing
Link copied to clipboard
fun
Trailing
(
@
DrawableRes
idRes
:
Int
,
@
StringRes
contentDescription
:
Int
?
=
null
,
isTintable
:
Boolean
,
onClick
:
(
)
->
Unit
?
=
null
)
Content copied to clipboard
Properties
content
Description
Link copied to clipboard
val
contentDescription
:
Int
?
=
null
Content copied to clipboard
id
Res
Link copied to clipboard
val
idRes
:
Int
Content copied to clipboard
is
Tintable
Link copied to clipboard
val
isTintable
:
Boolean
Content copied to clipboard
If it is an icon that should be tinted to match the text the value should be true
on
Click
Link copied to clipboard
val
onClick
:
(
)
->
Unit
?
=
null
Content copied to clipboard