public class Change
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
Change.Type |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<Change> |
CREATOR |
java.lang.String |
text |
Change.Type |
type |
| Constructor and Description |
|---|
Change()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.CharSequence |
getDisplayText(android.content.Context ctx) |
void |
setText(java.lang.String rawText)
Parse the string into html code by replacing all the '[' with '<' and ']' with '>'
and converting it into a Span
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public Change.Type type
public java.lang.String text
public static final android.os.Parcelable.Creator<Change> CREATOR
public void setText(java.lang.String rawText)
rawText - the raw text from xmlpublic java.lang.CharSequence getDisplayText(android.content.Context ctx)
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable