Register now for Android Dev Summit 2019!

BadgeDrawable.SavedState

public static final class BadgeDrawable.SavedState
extends Object implements Parcelable

java.lang.Object
   ↳ com.google.android.material.badge.BadgeDrawable.SavedState


A Parcelable implementation used to ensure the state of BadgeDrawable is saved.

Summary

Inherited constants

From interface android.os.Parcelable

Fields

public static final Creator<BadgeDrawable.SavedState> CREATOR

Public constructors

BadgeDrawable.SavedState(Context context)

Protected constructors

BadgeDrawable.SavedState(Parcel in)

Public methods

int describeContents()
void writeToParcel(Parcel dest, int flags)

Inherited methods

From class java.lang.Object
From interface android.os.Parcelable

Fields

CREATOR

Creator<BadgeDrawable.SavedState> CREATOR

Public constructors

BadgeDrawable.SavedState

BadgeDrawable.SavedState (Context context)

Parameters
context Context

Protected constructors

BadgeDrawable.SavedState

BadgeDrawable.SavedState (Parcel in)

Parameters
in Parcel

Public methods

describeContents

int describeContents ()

Returns
int

writeToParcel

void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int