blob: 870fc7c872312001756f88546922d476a9e19a50 [file] [log] [blame]
<html devsite="true">
<head>
<title>FragmentManager.OnBackStackChangedListener</title>
{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<h1>FragmentManager.OnBackStackChangedListener</h1>
{% setvar page_path %}androidx/fragment/app/FragmentManager.OnBackStackChangedListener.html{% endsetvar %}
{% setvar can_switch %}1{% endsetvar %}
{% include "reference/_kotlin_switcher2.md" %}
<p>
<pre>interface FragmentManager.OnBackStackChangedListener</pre>
</p>
<hr>
<p>Interface to watch for changes to the back stack.</p>
<h2>Summary</h2>
<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/-unit/index.html">Unit</a></code></td>
<td width="100%">
<div><code><a href="/reference/kotlin/androidx/fragment/app/FragmentManager.OnBackStackChangedListener.html#onBackStackChanged()">onBackStackChanged</a>()</code></div>
<p>Called whenever the contents of the back stack change.</p>
</td>
</tr>
</tbody>
</table>
</div>
<h2>Public functions</h2>
<div><a name="onBackStackChanged--"></a>
<h3 class="api-name" id="onBackStackChanged()">onBackStackChanged</h3>
<pre class="api-signature no-pretty-print">fun&nbsp;<a href="/reference/kotlin/androidx/fragment/app/FragmentManager.OnBackStackChangedListener.html#onBackStackChanged()">onBackStackChanged</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre>
<p>Called whenever the contents of the back stack change.</p>
</div>
</body>
</html>