blob: 10c8cabd09e6409d7a4161b9900e85e900dc9385 [file] [log] [blame]
<html devsite="true">
<head>
<title>RxPagedListKt</title>
{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<h1>RxPagedListKt</h1>
{% setvar page_path %}androidx/paging/RxPagedListKt.html{% endsetvar %}
{% setvar can_switch %}1{% endsetvar %}
{% include "reference/_java_switcher2.md" %}
<p>
<pre>public final class RxPagedListKt</pre>
</p>
<hr>
<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>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(androidx.paging.DataSource.Factory,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(kotlin.Function0,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(kotlin.Function0,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(androidx.paging.DataSource.Factory,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(kotlin.Function0,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final <a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;</code></td>
<td width="100%">
<div><code>&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(kotlin.Function0,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</code></div>
<p><strong>This method is deprecated.</strong> PagedList is deprecated and has been replaced by PagingData</p>
</td>
</tr>
</tbody>
</table>
</div>
<h2>Public methods</h2>
<div><a name="toFlowable(androidx.paging.DataSource.Factory, androidx.paging.PagedList.Config, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler, BackpressureStrategy)"></a><a name="toFlowable-androidx.paging.DataSource.Factory-androidx.paging.PagedList.Config-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-BackpressureStrategy-"></a>
<h3 class="api-name" id="toFlowable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Flowable&lt;PagedList&gt;</code>, from this <code><a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a></code>, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Flowable]">Flowable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</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/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config</code></td>
<td width="100%">
<p>Paging configuration.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
<tr>
<td><code><a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy</code></td>
<td width="100%">
<p><a href="[BackpressureStrategy]">BackpressureStrategy</a> for the <a href="[Flowable]">Flowable</a> to use.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toObservable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="toFlowable(androidx.paging.DataSource.Factory, kotlin.Int, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler, BackpressureStrategy)"></a><a name="toFlowable-androidx.paging.DataSource.Factory-kotlin.Int-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-BackpressureStrategy-"></a>
<h3 class="api-name" id="toFlowable(androidx.paging.DataSource.Factory,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(androidx.paging.DataSource.Factory,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Flowable&lt;PagedList&gt;</code>, from this <code><a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a></code>, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Flowable]">Flowable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">Parameters</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>int&nbsp;pageSize</code></td>
<td width="100%">
<p>Page size.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
<tr>
<td><code><a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy</code></td>
<td width="100%">
<p><a href="[BackpressureStrategy]">BackpressureStrategy</a> for the <a href="[Flowable]">Flowable</a> to use.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toObservable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="toFlowable(kotlin.Function0, androidx.paging.PagedList.Config, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler, BackpressureStrategy)"></a><a name="toFlowable-kotlin.Function0-androidx.paging.PagedList.Config-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-BackpressureStrategy-"></a>
<h3 class="api-name" id="toFlowable(kotlin.Function0,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(kotlin.Function0,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Flowable&lt;PagedList&gt;</code>, from this <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code> factory, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Flowable]">Flowable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</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/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config</code></td>
<td width="100%">
<p>Paging configuration.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
<tr>
<td><code><a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy</code></td>
<td width="100%">
<p><a href="[BackpressureStrategy]">BackpressureStrategy</a> for the <a href="[Flowable]">Flowable</a> to use.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toObservable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="toFlowable(kotlin.Function0, kotlin.Int, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler, BackpressureStrategy)"></a><a name="toFlowable-kotlin.Function0-kotlin.Int-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-BackpressureStrategy-"></a>
<h3 class="api-name" id="toFlowable(kotlin.Function0,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toFlowable(kotlin.Function0,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Flowable&lt;PagedList&gt;</code>, from this <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code> factory, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Flowable]">Flowable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">Parameters</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>int&nbsp;pageSize</code></td>
<td width="100%">
<p>Page size.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
<tr>
<td><code><a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;backpressureStrategy</code></td>
<td width="100%">
<p><a href="[BackpressureStrategy]">BackpressureStrategy</a> for the <a href="[Flowable]">Flowable</a> to use.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toObservable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="toObservable(androidx.paging.DataSource.Factory, androidx.paging.PagedList.Config, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler)"></a><a name="toObservable-androidx.paging.DataSource.Factory-androidx.paging.PagedList.Config-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-"></a>
<h3 class="api-name" id="toObservable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Observable&lt;PagedList&gt;</code> from this <code><a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a></code>, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Observable]">Observable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</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/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config</code></td>
<td width="100%">
<p>Paging configuration.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to PagedList load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toFlowable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="toObservable(androidx.paging.DataSource.Factory, kotlin.Int, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler)"></a><a name="toObservable-androidx.paging.DataSource.Factory-kotlin.Int-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-"></a>
<h3 class="api-name" id="toObservable(androidx.paging.DataSource.Factory,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(androidx.paging.DataSource.Factory,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a>&lt;Key,&nbsp;Value&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Observable&lt;PagedList&gt;</code> from this <code><a href="/reference/androidx/paging/DataSource.Factory.html">DataSource.Factory</a></code>, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Observable]">Observable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">Parameters</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>int&nbsp;pageSize</code></td>
<td width="100%">
<p>Size of pages to load.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/DataSource.html">DataSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toFlowable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="toObservable(kotlin.Function0, androidx.paging.PagedList.Config, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler)"></a><a name="toObservable-kotlin.Function0-androidx.paging.PagedList.Config-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-"></a>
<h3 class="api-name" id="toObservable(kotlin.Function0,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(kotlin.Function0,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reference/androidx/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Observable&lt;PagedList&gt;</code> from this <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code> factory, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Observable]">Observable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</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/paging/PagedList.Config.html">PagedList.Config</a>&nbsp;config</code></td>
<td width="100%">
<p>Paging configuration.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to PagedList load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toFlowable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div><a name="toObservable(kotlin.Function0, kotlin.Int, kotlin.Any, androidx.paging.PagedList.BoundaryCallback, Scheduler, Scheduler)"></a><a name="toObservable-kotlin.Function0-kotlin.Int-kotlin.Any-androidx.paging.PagedList.BoundaryCallback-Scheduler-Scheduler-"></a>
<h3 class="api-name" id="toObservable(kotlin.Function0,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</h3>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&lt;<a href="/reference/androidx/paging/PagedList.html">PagedList</a>&lt;Value&gt;&gt;&nbsp;&lt;Key&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>,&nbsp;Value&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <span><del><a href="/reference/androidx/paging/RxPagedListKt.html#toObservable(kotlin.Function0,kotlin.Int,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler)">toObservable</a></del></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;Function0&lt;<a href="/reference/androidx/paging/PagingSource.html">PagingSource</a>&lt;Key,&nbsp;Value&gt;&gt;&nbsp;receiver,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;pageSize,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler,<br>&nbsp;&nbsp;&nbsp;&nbsp;@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler<br>)</pre>
<aside class="caution"><strong>This method is deprecated.</strong><br>PagedList is deprecated and has been replaced by PagingData</aside>
<p>Constructs a <code>Observable&lt;PagedList&gt;</code> from this <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code> factory, convenience for <code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code>.</p>
<p>The returned <a href="[Observable]">Observable</a> will already be subscribed on the <code><a href="/reference/androidx/paging/package-summary.html#fetchScheduler()">fetchScheduler</a></code>, and will perform all loading on that scheduler. It will already be observed on <code><a href="/reference/androidx/paging/package-summary.html#notifyScheduler()">notifyScheduler</a></code>, and will dispatch new <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code>s, as well as their updates to that scheduler.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">Parameters</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>int&nbsp;pageSize</code></td>
<td width="100%">
<p>Size of pages to load.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;Key&nbsp;initialLoadKey</code></td>
<td width="100%">
<p>Initial load key passed to the first <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> / <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/androidx/paging/PagedList.BoundaryCallback.html">PagedList.BoundaryCallback</a>&lt;Value&gt;&nbsp;boundaryCallback</code></td>
<td width="100%">
<p>The boundary callback for listening to <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> load state.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;fetchScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> used to fetch from <code><a href="/reference/androidx/paging/PagingSource.html">PagingSource</a></code>s, generally a background thread pool for e.g. I/O or network loading.</p>
</td>
</tr>
<tr>
<td><code>@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a>&nbsp;<a href="/reference/[JVM root]/&lt;ERROR CLASS&gt;.html">&lt;ERROR CLASS&gt;</a>&nbsp;notifyScheduler</code></td>
<td width="100%">
<p><a href="[Scheduler]">Scheduler</a> that receives <code><a href="/reference/androidx/paging/PagedList.html">PagedList</a></code> updates, and where <code><a href="/reference/androidx/paging/PagedList.Callback.html">PagedList.Callback</a></code> calls are dispatched. Generally, this is the UI / main thread.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2">See also</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="/reference/androidx/paging/RxPagedListBuilder.html">RxPagedListBuilder</a></code></td>
<td width="100%"></td>
</tr>
<tr>
<td><code><a href="/reference/androidx/paging/package-summary.html#toFlowable(androidx.paging.DataSource.Factory,androidx.paging.PagedList.Config,kotlin.Any,androidx.paging.PagedList.BoundaryCallback,Scheduler,Scheduler,BackpressureStrategy)">toFlowable</a></code></td>
<td width="100%"></td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>