public class RadarHolder
extends java.lang.Object
implements android.os.Parcelable
RadarView
.
Each instance consists of an immutable name field and a mutable value field.
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<RadarHolder> |
CREATOR |
java.lang.String |
name
The name of this item
|
int |
value
The value of this item
|
Constructor and Description |
---|
RadarHolder(java.lang.String name,
int value)
Construct a new
RadarHolder . |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<RadarHolder> CREATOR
public final java.lang.String name
This is rendered as the label of the item on the RadarView
.
public int value
This is rendered as the distance of the polygon from the center of the RadarView
.
public RadarHolder(java.lang.String name, int value)
RadarHolder
.name
- The name of this itemvalue
- The value of this item