All Implemented Interfaces:
android.os.Parcelable


public final class RatingAppearance
extends java.lang.Object
implements android.os.Parcelable
RatingAppearance provides interfaces for Rating customization. RatingAppearance are created using RatingAppearance.Builder.

Nested Class Summary

Nested Classes
Modifier and TypeClass and Description
static class RatingAppearance.Builder

Nested classes/interfaces inherited from interface android.os.Parcelable

android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>

Field Summary

Fields
Modifier and TypeField and Description
static android.os.Parcelable.Creator<RatingAppearance>CREATOR 

Fields inherited from interface android.os.Parcelable

CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
intdescribeContents() 
booleanequals(java.lang.Object o) 
intgetBackgroundStarColor()
Returns the background star color specified for Rating.
intgetProgressStarColor()
Returns the progress star color specified for Rating.
inthashCode() 
voidwriteToParcel(android.os.Parcel dest, int flags) 

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

CREATOR

public static final android.os.Parcelable.Creator<RatingAppearance> CREATOR

Method Detail

getBackgroundStarColor

public int getBackgroundStarColor()
Returns the background star color specified for Rating.
Returns:
background star color of the Rating.

getProgressStarColor

public int getProgressStarColor()
Returns the progress star color specified for Rating.
Returns:
progress star color of the Rating.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

describeContents

public int describeContents()
Specified by:
describeContents in interface android.os.Parcelable

writeToParcel

public void writeToParcel(android.os.Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface android.os.Parcelable