blob: 8af88706692d5bbeb69d742fd070e51c54c0c733 [file] [log] [blame]
<html devsite="true">
<head>
<title>Fragment.SavedState</title>
{% setvar book_path %}/reference/kotlin/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/_kotlin_switcher2.md" %}
<p>
<pre>class Fragment.SavedState</pre>
</p>
<hr>
<p>State information that has been retrieved from a fragment instance through <code><a href="/reference/kotlin/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>Creator&lt;SavedState&gt;</code></td>
<td width="100%">
<div><code><a href="/reference/kotlin/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 functions</h3></th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td>
<td width="100%">
<div><code><a href="/reference/kotlin/androidx/fragment/app/Fragment.SavedState.html#describeContents()">describeContents</a>()</code></div>
</td>
</tr>
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></code></td>
<td width="100%">
<div><code><a href="/reference/kotlin/androidx/fragment/app/Fragment.SavedState.html#writeToParcel(android.os.Parcel,int)">writeToParcel</a>(dest:&nbsp;Parcel,&nbsp;flags:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>)</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">val&nbsp;<a href="/reference/kotlin/androidx/fragment/app/Fragment.SavedState.html#CREATOR()">CREATOR</a>:&nbsp;Creator&lt;SavedState&gt;</pre>
</div>
<h2>Public functions</h2>
<div><a name="describeContents--"></a>
<h3 class="api-name" id="describeContents()">describeContents</h3>
<pre class="api-signature no-pretty-print">fun&nbsp;<a href="/reference/kotlin/androidx/fragment/app/Fragment.SavedState.html#describeContents()">describeContents</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</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">fun&nbsp;<a href="/reference/kotlin/androidx/fragment/app/Fragment.SavedState.html#writeToParcel(android.os.Parcel,int)">writeToParcel</a>(dest:&nbsp;Parcel,&nbsp;flags:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre>
</div>
</body>
</html>