| <html devsite="true"> |
| <head> |
| <title>NullPaddedList</title> |
| {% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <h1>NullPaddedList</h1> |
| {% setvar page_path %}androidx/paging/NullPaddedList.html{% endsetvar %} |
| {% setvar can_switch %}1{% endsetvar %} |
| {% include "reference/_kotlin_switcher2.md" %} |
| <p> |
| <pre>interface NullPaddedList</pre> |
| </p> |
| <hr> |
| <p>Interface to partially-loaded, paged data (generally an immutable snapshot).</p> |
| <p>Used for diffing in paging-runtime.</p> |
| <h2>Summary</h2> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2"><h3>Public properties</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code><a href="/reference/kotlin/kotlin/Int.html">Int</a></code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/kotlin/androidx/paging/NullPaddedList.html#placeholdersAfter()">placeholdersAfter</a></code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code><a href="/reference/kotlin/kotlin/Int.html">Int</a></code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/kotlin/androidx/paging/NullPaddedList.html#placeholdersBefore()">placeholdersBefore</a></code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code><a href="/reference/kotlin/kotlin/Int.html">Int</a></code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/kotlin/androidx/paging/NullPaddedList.html#size()">size</a></code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code><a href="/reference/kotlin/kotlin/Int.html">Int</a></code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/kotlin/androidx/paging/NullPaddedList.html#storageCount()">storageCount</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>T</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/kotlin/androidx/paging/NullPaddedList.html#getFromStorage(kotlin.Int)">getFromStorage</a>(localIndex: <a href="/reference/kotlin/kotlin/Int.html">Int</a>)</code></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Public properties</h2> |
| <div><a name="getPlaceholdersAfter()"></a><a name="setPlaceholdersAfter()"></a><a name="getPlaceholdersAfter--"></a><a name="setPlaceholdersAfter--"></a> |
| <h3 class="api-name" id="placeholdersAfter()">placeholdersAfter</h3> |
| <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/paging/NullPaddedList.html#placeholdersAfter()">placeholdersAfter</a>: <a href="/reference/kotlin/kotlin/Int.html">Int</a></pre> |
| </div> |
| <div><a name="getPlaceholdersBefore()"></a><a name="setPlaceholdersBefore()"></a><a name="getPlaceholdersBefore--"></a><a name="setPlaceholdersBefore--"></a> |
| <h3 class="api-name" id="placeholdersBefore()">placeholdersBefore</h3> |
| <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/paging/NullPaddedList.html#placeholdersBefore()">placeholdersBefore</a>: <a href="/reference/kotlin/kotlin/Int.html">Int</a></pre> |
| </div> |
| <div><a name="getSize()"></a><a name="setSize()"></a><a name="getSize--"></a><a name="setSize--"></a> |
| <h3 class="api-name" id="size()">size</h3> |
| <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/paging/NullPaddedList.html#size()">size</a>: <a href="/reference/kotlin/kotlin/Int.html">Int</a></pre> |
| </div> |
| <div><a name="getStorageCount()"></a><a name="setStorageCount()"></a><a name="getStorageCount--"></a><a name="setStorageCount--"></a> |
| <h3 class="api-name" id="storageCount()">storageCount</h3> |
| <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/paging/NullPaddedList.html#storageCount()">storageCount</a>: <a href="/reference/kotlin/kotlin/Int.html">Int</a></pre> |
| </div> |
| <h2>Public functions</h2> |
| <div><a name="getFromStorage-kotlin.Int-"></a> |
| <h3 class="api-name" id="getFromStorage(kotlin.Int)">getFromStorage</h3> |
| <pre class="api-signature no-pretty-print">fun <a href="/reference/kotlin/androidx/paging/NullPaddedList.html#getFromStorage(kotlin.Int)">getFromStorage</a>(localIndex: <a href="/reference/kotlin/kotlin/Int.html">Int</a>): T</pre> |
| </div> |
| </body> |
| </html> |