ActionListItem.ViewHolder
public
static
final
class
ActionListItem.ViewHolder
extends ListItem.ViewHolder
Holds the children views of ActionListItem
.
Summary
Inherited methods |
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
|
Public constructors
ActionListItem.ViewHolder
public ActionListItem.ViewHolder (View itemView)
Public methods
getPrimaryAction
public Button getPrimaryAction ()
getPrimaryActionDivider
public View getPrimaryActionDivider ()
getPrimaryIcon
public ImageView getPrimaryIcon ()
getSecondaryAction
public Button getSecondaryAction ()
getSecondaryActionDivider
public View getSecondaryActionDivider ()
onUxRestrictionsChanged
public void onUxRestrictionsChanged (CarUxRestrictions restrictions)
Parameters |
restrictions |
CarUxRestrictions |
setActionBorderless
public void setActionBorderless (boolean isBorderless)
Sets if the action returned is styled as borderless or non-borderless.
By default, this value is true
.
Parameters |
isBorderless |
boolean : Whether or not the action is borderless.
|