| <html devsite="true"> |
| <head> |
| <title>AsyncPagedListDiffer.PagedListListener</title> |
| {% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <h1>AsyncPagedListDiffer.PagedListListener</h1> |
| {% setvar page_path %}androidx/paging/AsyncPagedListDiffer.PagedListListener.html{% endsetvar %} |
| {% setvar can_switch %}1{% endsetvar %} |
| {% include "reference/_java_switcher2.md" %} |
| <p> |
| <pre>interface AsyncPagedListDiffer.PagedListListener<T extends <a href="/reference/java/lang/Object.html">Object</a>></pre> |
| </p> |
| <hr> |
| <aside class="caution"><strong>This interface is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside> |
| <p>Listener for when the current <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> is updated.</p> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code><T extends <a href="/reference/java/lang/Object.html">Object</a>></code></td> |
| <td width="100%"> |
| <p>Type of items in <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code></p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Summary</h2> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2"><h3>Public methods</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>abstract void</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/androidx/paging/AsyncPagedListDiffer.PagedListListener.html#onCurrentListChanged(androidx.paging.PagedList,androidx.paging.PagedList)">onCurrentListChanged</a>(<br> @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="/reference/androidx/paging/PagedList.html">PagedList</a><T> previousList,<br> @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="/reference/androidx/paging/PagedList.html">PagedList</a><T> currentList<br>)</code></div> |
| <p>Called after the current PagedList has been updated.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Public methods</h2> |
| <div><a name="onCurrentListChanged(androidx.paging.PagedList, androidx.paging.PagedList)"></a><a name="onCurrentListChanged-androidx.paging.PagedList-androidx.paging.PagedList-"></a> |
| <h3 class="api-name" id="onCurrentListChanged(androidx.paging.PagedList,androidx.paging.PagedList)">onCurrentListChanged</h3> |
| <pre class="api-signature no-pretty-print">public abstract void <a href="/reference/androidx/paging/AsyncPagedListDiffer.PagedListListener.html#onCurrentListChanged(androidx.paging.PagedList,androidx.paging.PagedList)">onCurrentListChanged</a>(<br> @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="/reference/androidx/paging/PagedList.html">PagedList</a><T> previousList,<br> @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="/reference/androidx/paging/PagedList.html">PagedList</a><T> currentList<br>)</pre> |
| <p>Called after the current PagedList has been updated.</p> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="/reference/androidx/paging/PagedList.html">PagedList</a><T> previousList</code></td> |
| <td width="100%"> |
| <p>The previous list, may be null.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="/reference/androidx/paging/PagedList.html">PagedList</a><T> currentList</code></td> |
| <td width="100%"> |
| <p>The new current list, may be null.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </body> |
| </html> |