mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-10-28 10:40:38 +00:00
deploy: f00cb81db1
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
</button>
|
||||
<div class="navigation-controls--break ui-kit_mobile-only"></div>
|
||||
<div class="library-version" id="library-version">
|
||||
0.24.7 </div>
|
||||
0.24.8 </div>
|
||||
<div class="navigation-controls">
|
||||
<div class="filter-section filter-section_loading" id="filter-section">
|
||||
<button class="platform-tag platform-selector common-like" data-active=""
|
||||
@@ -109,7 +109,7 @@
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>last</span><wbr></wbr><span><span>Index</span></span></h1>
|
||||
</div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">val </span><a href="-pagination/index.html">Pagination</a><span class="token punctuation">.</span><a href="last-index.html">lastIndex</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt#L64">source</a>)</span></span></div><p class="paragraph">Last number in index of objects. In fact, one <a href="-pagination/index.html">Pagination</a> object represent data in next range:</p><p class="paragraph">[<a href="first-index.html">firstIndex</a>, <a href="last-index.html">lastIndex</a>]; That means, that for <a href="-pagination/index.html">Pagination</a> with <a href="-pagination/size.html">Pagination.size</a> == 10 and <a href="-pagination/page.html">Pagination.page</a> == 1 you will retrieve <a href="first-index.html">Pagination.firstIndex</a> == 10 and <a href="last-index.html">Pagination.lastIndex</a> == 19.</p></div></div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">val </span><a href="-pagination/index.html">Pagination</a><span class="token punctuation">.</span><a href="last-index.html">lastIndex</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt#L66">source</a>)</span></span></div><p class="paragraph">Last number in index of objects. In fact, one <a href="-pagination/index.html">Pagination</a> object represent data in next range:</p><p class="paragraph">[<a href="first-index.html">firstIndex</a>, <a href="last-index.html">lastIndex</a>]; That means, that for <a href="-pagination/index.html">Pagination</a> with <a href="-pagination/size.html">Pagination.size</a> == 10 and <a href="-pagination/page.html">Pagination.page</a> == 1 you will retrieve <a href="first-index.html">Pagination.firstIndex</a> == 10 and <a href="last-index.html">Pagination.lastIndex</a> == 19.</p></div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
|
||||
|
||||
Reference in New Issue
Block a user