Add support for constructors
Fixes: 168268595
Change-Id: I6e665cf86972337eef504de24f0e50041c976e73
diff --git a/testData/paging/docs/reference/kotlin/androidx/paging/PagingSource.html b/testData/paging/docs/reference/kotlin/androidx/paging/PagingSource.html
index 6b92f5f..732a405 100644
--- a/testData/paging/docs/reference/kotlin/androidx/paging/PagingSource.html
+++ b/testData/paging/docs/reference/kotlin/androidx/paging/PagingSource.html
@@ -67,8 +67,6 @@
<h2>Summary</h2>
<p>Nested *</p>
<p>Enum values</p>
- <p>Public constructors</p>
- <p>Protected constructors</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
@@ -105,6 +103,22 @@
<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/PagingSource.html#PagingSource()">PagingSource</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>
@@ -183,6 +197,34 @@
<pre class="api-signature no-pretty-print">open val <a href="/reference/kotlin/androidx/paging/PagingSource.html#keyReuseSupported()">keyReuseSupported</a>: <a href="/reference/kotlin/kotlin/Boolean.html">Boolean</a></pre>
<p><code>true</code> if this <code><a href="/reference/kotlin/androidx/paging/PagingSource.html">PagingSource</a></code> expects to re-use keys to load distinct pages without a call to <code><a href="/reference/kotlin/androidx/paging/PagingSource.html#invalidate()">invalidate</a></code>, <code>false</code> otherwise.</p>
</div>
+ <h2>Public constructors</h2>
+ <div><a name="PagingSource--"></a>
+ <h3 class="api-name" id="PagingSource()">PagingSource</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/reference/kotlin/androidx/paging/PagingSource.html#PagingSource()">PagingSource</a>(): <a href="/reference/kotlin/androidx/paging/PagingSource.html">PagingSource</a><Key, Value></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 key which define what data to load. E.g. <code><a href="/reference/kotlin/kotlin/Int.html">Int</a></code> to represent either a page number or item position, or <code><a href="/reference/kotlin/kotlin/String.html">String</a></code> if your network uses Strings as next tokens returned with each response.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>Value</code></td>
+ <td width="100%">
+ <p>Type of data loaded in by this <code><a href="/reference/kotlin/androidx/paging/PagingSource.html">PagingSource</a></code>. E.g., the type of data that will be passed to a <code><a href="/reference/kotlin/androidx/paging/PagingDataAdapter.html">PagingDataAdapter</a></code> to be displayed in a <code>RecyclerView</code>.</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
<h2>Public functions</h2>
<div><a name="getRefreshKey-androidx.paging.PagingState-"></a>
<h3 class="api-name" id="getRefreshKey(androidx.paging.PagingState)">getRefreshKey</h3>