| <html devsite="true"> |
| <head> |
| <title>ItemKeyedDataSource.LoadParams</title> |
| {% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <h1>ItemKeyedDataSource.LoadParams</h1> |
| {% setvar page_path %}androidx/paging/ItemKeyedDataSource.LoadParams.html{% endsetvar %} |
| {% setvar can_switch %}1{% endsetvar %} |
| {% include "reference/_java_switcher2.md" %} |
| <p>TODO(b/166518424) class signature</p> |
| <hr> |
| <p>Holder object for inputs to <code><a href="/reference/androidx/paging/ItemKeyedDataSource.html#loadBefore(androidx.paging.ItemKeyedDataSource.LoadParams)">loadBefore</a></code> and <code><a href="/reference/androidx/paging/ItemKeyedDataSource.html#loadAfter(androidx.paging.ItemKeyedDataSource.LoadParams)">loadAfter</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/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/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 fields</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>final Key</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/androidx/paging/ItemKeyedDataSource.LoadParams.html#key()">key</a></code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code>final int</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/androidx/paging/ItemKeyedDataSource.LoadParams.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/androidx/paging/ItemKeyedDataSource.LoadParams.html#LoadParams(kotlin.Any,kotlin.Int)">LoadParams</a>(@<a href="/reference/[JVM root]/<ERROR CLASS>.html"><ERROR CLASS></a> Key key, @<a href="/reference/[JVM root]/<ERROR CLASS>.html"><ERROR CLASS></a> int requestedLoadSize)</code></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Public fields</h2> |
| <div><a name="getKey()"></a><a name="setKey()"></a><a name="getKey--"></a><a name="setKey--"></a> |
| <h3 class="api-name" id="key()">key</h3> |
| <pre class="api-signature no-pretty-print">public final Key <a href="/reference/androidx/paging/ItemKeyedDataSource.LoadParams.html#key()">key</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/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/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">public final int <a href="/reference/androidx/paging/ItemKeyedDataSource.LoadParams.html#requestedLoadSize()">requestedLoadSize</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/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <h2>Public constructors</h2> |
| <div><a name="LoadParams(kotlin.Any, kotlin.Int)"></a><a name="LoadParams-kotlin.Any-kotlin.Int-"></a> |
| <h3 class="api-name" id="LoadParams(kotlin.Any,kotlin.Int)">LoadParams</h3> |
| <pre class="api-signature no-pretty-print">public final <a href="/reference/androidx/paging/ItemKeyedDataSource.LoadParams.html#LoadParams(kotlin.Any,kotlin.Int)">LoadParams</a>(@<a href="/reference/[JVM root]/<ERROR CLASS>.html"><ERROR CLASS></a> Key key, @<a href="/reference/[JVM root]/<ERROR CLASS>.html"><ERROR CLASS></a> int requestedLoadSize)</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/androidx/paging/ItemKeyedDataSource.html">Value</a></code> types out of the <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </body> |
| </html> |