| <html devsite="true"> |
| <head> |
| <title>ItemKeyedDataSource.LoadInitialParams</title> |
| {% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <h1>ItemKeyedDataSource.LoadInitialParams</h1> |
| {% setvar page_path %}androidx/paging/ItemKeyedDataSource.LoadInitialParams.html{% endsetvar %} |
| {% setvar can_switch %}1{% endsetvar %} |
| {% include "reference/_kotlin_switcher2.md" %} |
| <p> |
| <pre>open class ItemKeyedDataSource.LoadInitialParams</pre> |
| </p> |
| <hr> |
| <p>Holder object for inputs to <code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.html#loadInitial(androidx.paging.ItemKeyedDataSource.LoadInitialParams)">loadInitial</a></code>.</p> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>Key</code></td> |
| <td width="100%"> |
| <p>Type of data used to query <code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/kotlin/androidx/paging/DataSource.html">DataSource</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 properties</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code><a href="/reference/kotlin/kotlin/Boolean.html">Boolean</a></code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.LoadInitialParams.html#placeholdersEnabled()">placeholdersEnabled</a></code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code>Key?</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.LoadInitialParams.html#requestedInitialKey()">requestedInitialKey</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/ItemKeyedDataSource.LoadInitialParams.html#requestedLoadSize()">requestedLoadSize</a></code></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2"><h3>Public constructors</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td> |
| <div><code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.LoadInitialParams.html#LoadInitialParams(kotlin.Any,kotlin.Int,kotlin.Boolean)">LoadInitialParams</a>(<br> requestedInitialKey: Key?,<br> requestedLoadSize: <a href="/reference/kotlin/kotlin/Int.html">Int</a>,<br> placeholdersEnabled: <a href="/reference/kotlin/kotlin/Boolean.html">Boolean</a><br>)</code></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Public properties</h2> |
| <div><a name="getPlaceholdersEnabled()"></a><a name="setPlaceholdersEnabled()"></a><a name="getPlaceholdersEnabled--"></a><a name="setPlaceholdersEnabled--"></a> |
| <h3 class="api-name" id="placeholdersEnabled()">placeholdersEnabled</h3> |
| <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.LoadInitialParams.html#placeholdersEnabled()">placeholdersEnabled</a>: <a href="/reference/kotlin/kotlin/Boolean.html">Boolean</a></pre> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>Key</code></td> |
| <td width="100%"> |
| <p>Type of data used to query <code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/kotlin/androidx/paging/DataSource.html">DataSource</a></code>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div><a name="getRequestedInitialKey()"></a><a name="setRequestedInitialKey()"></a><a name="getRequestedInitialKey--"></a><a name="setRequestedInitialKey--"></a> |
| <h3 class="api-name" id="requestedInitialKey()">requestedInitialKey</h3> |
| <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.LoadInitialParams.html#requestedInitialKey()">requestedInitialKey</a>: Key?</pre> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>Key</code></td> |
| <td width="100%"> |
| <p>Type of data used to query <code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/kotlin/androidx/paging/DataSource.html">DataSource</a></code>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div><a name="getRequestedLoadSize()"></a><a name="setRequestedLoadSize()"></a><a name="getRequestedLoadSize--"></a><a name="setRequestedLoadSize--"></a> |
| <h3 class="api-name" id="requestedLoadSize()">requestedLoadSize</h3> |
| <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.LoadInitialParams.html#requestedLoadSize()">requestedLoadSize</a>: <a href="/reference/kotlin/kotlin/Int.html">Int</a></pre> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>Key</code></td> |
| <td width="100%"> |
| <p>Type of data used to query <code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/kotlin/androidx/paging/DataSource.html">DataSource</a></code>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <h2>Public constructors</h2> |
| <div><a name="LoadInitialParams(kotlin.Any, kotlin.Int, kotlin.Boolean)"></a><a name="LoadInitialParams-kotlin.Any-kotlin.Int-kotlin.Boolean-"></a> |
| <h3 class="api-name" id="LoadInitialParams(kotlin.Any,kotlin.Int,kotlin.Boolean)">LoadInitialParams</h3> |
| <pre class="api-signature no-pretty-print"><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.LoadInitialParams.html#LoadInitialParams(kotlin.Any,kotlin.Int,kotlin.Boolean)">LoadInitialParams</a>(<br> requestedInitialKey: Key?,<br> requestedLoadSize: <a href="/reference/kotlin/kotlin/Int.html">Int</a>,<br> placeholdersEnabled: <a href="/reference/kotlin/kotlin/Boolean.html">Boolean</a><br>)</pre> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>Key</code></td> |
| <td width="100%"> |
| <p>Type of data used to query <code><a href="/reference/kotlin/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/kotlin/androidx/paging/DataSource.html">DataSource</a></code>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </body> |
| </html> |