LabelValueRow

  • LabelValueRow is a Parcelable class representing label-value row data for display, often used in mobile wallet passes.

  • It includes methods to access the row's columns (getColumns), background color (getHexBackgroundColor), and font color (getHexFontColor), although the color methods are deprecated.

  • Developers can build instances of LabelValueRow using a dedicated newBuilder method.

  • This class implements the Parcelable interface, facilitating its transfer across different components or processes within an Android application.

public final class LabelValueRow extends Object
implements Parcelable

Parcelable representing label value row data.

Nested Class Summary

class LabelValueRow.Builder Builder to create an LabelValueRow

Inherited Constant Summary

Field Summary

public static final Creator<LabelValueRow> CREATOR

Public Method Summary

ArrayList<LabelValue>
getColumns()
Returns the columns.
String
getHexBackgroundColor()
This method is deprecated. This value is unused by the platform and will be removed in the future.
String
getHexFontColor()
This method is deprecated. This value is unused by the platform and will be removed in the future.
static LabelValueRow.Builder
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<LabelValueRow> CREATOR

Public Methods

public ArrayList<LabelValue> getColumns ()

Returns the columns.

public String getHexBackgroundColor ()

This method is deprecated.
This value is unused by the platform and will be removed in the future.

Returns
  • the color of the row's background

public String getHexFontColor ()

This method is deprecated.
This value is unused by the platform and will be removed in the future.

Returns
  • the color of the row's font

public static LabelValueRow.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)