# CoordinatorLayout.SavedState

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:coordinatorlayout:28.0.0-alpha1  
Summary:[Inherited Constants](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#inhconstants)\|[Fields](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#lfields)\|[Inherited Fields](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#inhfields)\|[Ctors](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#pubctors)\|[Methods](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#)  

# CoordinatorLayout.SavedState

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
protected
static


class
CoordinatorLayout.SavedState
`  
`


``

extends `[AbsSavedState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState)`


``


`

|---|---|------------------------------------------------------------|
| java.lang.Object                                                 |||
| ↳ | [android.support.v4.view.AbsSavedState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState) ||
|   | ↳ | android.support.design.widget.CoordinatorLayout.SavedState |

<br />

*** ** * ** ***

## Summary

|                                                                                                                                                                                  ### Inherited constants                                                                                                                                                                                  |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#)From interface` android.os.Parcelable ` |-------|----------------------------------------| | `int` | `CONTENTS_FILE_DESCRIPTOR` <br />      | | `int` | `PARCELABLE_WRITE_RETURN_VALUE` <br /> | |

|                                                                                                                                                                                     ### Fields                                                                                                                                                                                     ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| ` public static final `[Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)`<`[CoordinatorLayout.SavedState](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState)`>` | [CREATOR](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#CREATOR) <br /> |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ### Inherited fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#)From class` `[android.support.v4.view.AbsSavedState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState)` ` |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------| | ` public static final `[Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)`<`[AbsSavedState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState)`>` | [CREATOR](https://developer.android.com/reference/android/support/v4/view/AbsSavedState#CREATOR) <br />         | | ` public static final `[AbsSavedState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState)                                                                                            | [EMPTY_STATE](https://developer.android.com/reference/android/support/v4/view/AbsSavedState#EMPTY_STATE) <br /> | |

|                                                                                                                                                  ### Public constructors                                                                                                                                                  ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[CoordinatorLayout.SavedState](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#CoordinatorLayout.SavedState(android.os.Parcel, java.lang.ClassLoader))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel.html)` source, ClassLoader loader) ` |
| ` `[CoordinatorLayout.SavedState](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#CoordinatorLayout.SavedState(android.os.Parcelable))`(`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` superState) `                            |

|                                                                                                                          ### Public methods                                                                                                                          ||
|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void` | ` `[writeToParcel](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#writeToParcel(android.os.Parcel, int))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel.html)` dest, int flags) ` |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#)From class` `[android.support.v4.view.AbsSavedState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState)` ` |-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` int`                                                                                    | ` `[describeContents](https://developer.android.com/reference/android/support/v4/view/AbsSavedState#describeContents())`() `                                                                                                           | | ` final `[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) | ` `[getSuperState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState#getSuperState())`() `                                                                                                                 | | ` void`                                                                                   | ` `[writeToParcel](https://developer.android.com/reference/android/support/v4/view/AbsSavedState#writeToParcel(android.os.Parcel, int))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel.html)` dest, int flags) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState#)From interface` `[android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` ` |------------------|--------------------------------------------------------------------------------------------------------------| | ` abstract int`  | ` describeContents() `                                                                                       | | ` abstract void` | ` writeToParcel(`[Parcel](https://developer.android.com/reference/android/os/Parcel.html)` arg0, int arg1) ` | ||

## Fields

### CREATOR

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Creator<CoordinatorLayout.SavedState> CREATOR
```

<br />

<br />

## Public constructors

### CoordinatorLayout.SavedState

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CoordinatorLayout.SavedState (Parcel source, 
                ClassLoader loader)
```

<br />

<br />

|           Parameters           ||
|----------|----------------------|
| `source` | `Parcel` <br />      |
| `loader` | `ClassLoader` <br /> |

### CoordinatorLayout.SavedState

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CoordinatorLayout.SavedState (Parcelable superState)
```

<br />

<br />

|            Parameters             ||
|--------------|---------------------|
| `superState` | `Parcelable` <br /> |

## Public methods

### writeToParcel

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

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

<br />

<br />

|        Parameters        ||
|---------|-----------------|
| `dest`  | `Parcel` <br /> |
| `flags` | `int` <br />    |

-

  ## Annotations

  - [CoordinatorLayout.DefaultBehavior](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.DefaultBehavior)
-

  ## Interfaces

  - [CoordinatorLayout.AttachedBehavior](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.AttachedBehavior)
-

  ## Classes

  - [CoordinatorLayout](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout)
  - [CoordinatorLayout.Behavior](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.Behavior)
  - [CoordinatorLayout.LayoutParams](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.LayoutParams)
  - [CoordinatorLayout.SavedState](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState)