blob: 60489fb036e35ad6c3c2b46a6c5e8551f8fa478c [file] [log] [blame]
<html devsite="true">
<head>
<title>Fragment.SavedState</title>
{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<h1>Fragment.SavedState</h1>
{% setvar page_path %}androidx/fragment/app/Fragment.SavedState.html{% endsetvar %}
{% setvar can_switch %}1{% endsetvar %}
{% include "reference/_java_switcher2.md" %}
<p>
<pre>public class Fragment.SavedState</pre>
</p>
<hr>
<p>State information that has been retrieved from a fragment instance through <code><a href="/reference/androidx/fragment/app/FragmentManager.html#saveFragmentInstanceState(androidx.fragment.app.Fragment)">FragmentManager.saveFragmentInstanceState</a></code>.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2"><h3>Constants</h3></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>static&nbsp;final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a>&nbsp;Creator&lt;SavedState&gt;</code></td>
<td width="100%">
<div><code><a href="/reference/androidx/fragment/app/Fragment.SavedState.html#CREATOR()">CREATOR</a></code></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2"><h3>Public methods</h3></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>int</code></td>
<td width="100%">
<div><code><a href="/reference/androidx/fragment/app/Fragment.SavedState.html#describeContents()">describeContents</a>()</code></div>
</td>
</tr>
<tr>
<td><code>void</code></td>
<td width="100%">
<div><code><a href="/reference/androidx/fragment/app/Fragment.SavedState.html#writeToParcel(android.os.Parcel,int)">writeToParcel</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a>&nbsp;Parcel&nbsp;dest,&nbsp;int&nbsp;flags)</code></div>
</td>
</tr>
</tbody>
</table>
</div>
<h2>Constants</h2>
<div><a name="getCREATOR()"></a><a name="setCREATOR()"></a><a name="getCREATOR--"></a><a name="setCREATOR--"></a>
<h3 class="api-name" id="CREATOR()">CREATOR</h3>
<pre class="api-signature no-pretty-print">@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a><br>public&nbsp;static&nbsp;final&nbsp;@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a>&nbsp;Creator&lt;SavedState&gt;&nbsp;<a href="/reference/androidx/fragment/app/Fragment.SavedState.html#CREATOR()">CREATOR</a></pre>
</div>
<h2>Public methods</h2>
<div><a name="describeContents--"></a>
<h3 class="api-name" id="describeContents()">describeContents</h3>
<pre class="api-signature no-pretty-print">public&nbsp;int&nbsp;<a href="/reference/androidx/fragment/app/Fragment.SavedState.html#describeContents()">describeContents</a>()</pre>
</div>
<div><a name="writeToParcel(android.os.Parcel, int)"></a><a name="writeToParcel-android.os.Parcel-int-"></a>
<h3 class="api-name" id="writeToParcel(android.os.Parcel,int)">writeToParcel</h3>
<pre class="api-signature no-pretty-print">public&nbsp;void&nbsp;<a href="/reference/androidx/fragment/app/Fragment.SavedState.html#writeToParcel(android.os.Parcel,int)">writeToParcel</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a>&nbsp;Parcel&nbsp;dest,&nbsp;int&nbsp;flags)</pre>
</div>
</body>
</html>