-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed afd1371 with MkDocs version: 1.5.3
- Loading branch information
Unknown
committed
Nov 10, 2023
0 parents
commit cc00709
Showing
616 changed files
with
95,047 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> | ||
<title>androidx.lifecycle</title> | ||
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head> | ||
<body> | ||
<div id="container"> | ||
<div id="leftColumn"><a href="../../index.html"> | ||
<div id="logo"></div> | ||
</a> | ||
<div id="paneSearch"></div> | ||
<div id="sideMenu"></div> | ||
</div> | ||
<div id="main"> | ||
<div id="leftToggler"><span class="icon-toggler"></span></div> | ||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Net::androidx.lifecycle////PointingToDeclaration//1281733757"> | ||
<div class="navigation-wrapper" id="navigation-wrapper"> | ||
<div class="breadcrumbs"><a href="../../index.html">Net</a>/<a href="index.html">androidx.lifecycle</a></div> | ||
<div class="pull-right d-flex"> | ||
<div id="searchBar"></div> | ||
</div> | ||
</div> | ||
<div class="cover "> | ||
<h1 class="cover"><span>Package androidx.</span><wbr></wbr><span>lifecycle</span></h1> | ||
</div> | ||
<div class="tabbedcontent"> | ||
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div> | ||
<div class="tabs-section-body"> | ||
<h2 class="">Functions</h2> | ||
<div class="table" data-togglable="Functions"><a data-name="-597246228%2FFunctions%2F1281733757" anchor-label="life" id="-597246228%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a> | ||
<div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"> | ||
<div class="main-subrow keyValue "> | ||
<div class=""><span class="inline-flex"><a href="life.html">life</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-597246228%2FFunctions%2F1281733757"></span> | ||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> | ||
</span></span></div> | ||
<div> | ||
<div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div> | ||
|
||
<div> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">fun <a href="../com.drake.net.time/-interval/index.html">Interval</a>.<a href="life.html">life</a>(viewModel: <a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>): <span data-unresolved-link="/&lt;ERROR CLASS&gt;///PointingToDeclaration/"><ERROR CLASS></span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div> | ||
</div> | ||
<a data-name="-597246228%2FFunctions%2F1281733757" anchor-label="life" id="-597246228%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-597246228%2FFunctions%2F1281733757" anchor-label="life" id="-597246228%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>轮询器根据ViewModel生命周期自动取消</div></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<a data-name="921249301%2FFunctions%2F1281733757" anchor-label="scopeLife" id="921249301%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a> | ||
<div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"> | ||
<div class="main-subrow keyValue "> | ||
<div class=""><span class="inline-flex"><a href="scope-life.html">scopeLife</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="921249301%2FFunctions%2F1281733757"></span> | ||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> | ||
</span></span></div> | ||
<div> | ||
<div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div> | ||
|
||
<div> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">fun <a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>.<a href="scope-life.html">scopeLife</a>(dispatcher: <span data-unresolved-link="kotlinx.coroutines/CoroutineDispatcher///PointingToDeclaration/">CoroutineDispatcher</span> = Dispatchers.Main, block: suspend <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="../com.drake.net.scope/-android-scope/index.html">AndroidScope</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div> | ||
</div> | ||
<a data-name="921249301%2FFunctions%2F1281733757" anchor-label="scopeLife" id="921249301%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="921249301%2FFunctions%2F1281733757" anchor-label="scopeLife" id="921249301%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>在<a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>被销毁时取消协程作用域</div></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<a data-name="1671263030%2FFunctions%2F1281733757" anchor-label="scopeNetLife" id="1671263030%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a> | ||
<div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"> | ||
<div class="main-subrow keyValue "> | ||
<div class=""><span class="inline-flex"><a href="scope-net-life.html">scopeNetLife</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1671263030%2FFunctions%2F1281733757"></span> | ||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> | ||
</span></span></div> | ||
<div> | ||
<div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div> | ||
|
||
<div> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">fun <a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>.<a href="scope-net-life.html">scopeNetLife</a>(dispatcher: <span data-unresolved-link="kotlinx.coroutines/CoroutineDispatcher///PointingToDeclaration/">CoroutineDispatcher</span> = Dispatchers.Main, block: suspend <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="../com.drake.net.scope/-net-coroutine-scope/index.html">NetCoroutineScope</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div> | ||
</div> | ||
<a data-name="1671263030%2FFunctions%2F1281733757" anchor-label="scopeNetLife" id="1671263030%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="1671263030%2FFunctions%2F1281733757" anchor-label="scopeNetLife" id="1671263030%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>在<a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>被销毁时取消协程作用域以及其中的网络请求 具备网络错误全局处理功能, 其内部的网络请求会跟随其作用域的生命周期</div></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2023 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> | ||
<title>life</title> | ||
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head> | ||
<body> | ||
<div id="container"> | ||
<div id="leftColumn"><a href="../../index.html"> | ||
<div id="logo"></div> | ||
</a> | ||
<div id="paneSearch"></div> | ||
<div id="sideMenu"></div> | ||
</div> | ||
<div id="main"> | ||
<div id="leftToggler"><span class="icon-toggler"></span></div> | ||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Net::androidx.lifecycle//life/com.drake.net.time.Interval#androidx.lifecycle.ViewModel/PointingToDeclaration//1281733757"> | ||
<div class="navigation-wrapper" id="navigation-wrapper"> | ||
<div class="breadcrumbs"><a href="../../index.html">Net</a>/<a href="index.html">androidx.lifecycle</a>/<a href="life.html">life</a></div> | ||
<div class="pull-right d-flex"> | ||
<div id="searchBar"></div> | ||
</div> | ||
</div> | ||
<div class="cover "> | ||
<h1 class="cover"><span>life</span></h1> | ||
</div> | ||
<div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div> | ||
|
||
<div> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">fun <a href="../com.drake.net.time/-interval/index.html">Interval</a>.<a href="life.html">life</a>(viewModel: <a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>): <span data-unresolved-link="/&lt;ERROR CLASS&gt;///PointingToDeclaration/"><ERROR CLASS></span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div> | ||
</div> | ||
<p class="paragraph">轮询器根据ViewModel生命周期自动取消</p></div> | ||
</div> | ||
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2023 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> | ||
<title>scopeLife</title> | ||
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head> | ||
<body> | ||
<div id="container"> | ||
<div id="leftColumn"><a href="../../index.html"> | ||
<div id="logo"></div> | ||
</a> | ||
<div id="paneSearch"></div> | ||
<div id="sideMenu"></div> | ||
</div> | ||
<div id="main"> | ||
<div id="leftToggler"><span class="icon-toggler"></span></div> | ||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Net::androidx.lifecycle//scopeLife/androidx.lifecycle.ViewModel#kotlinx.coroutines.CoroutineDispatcher#kotlin.coroutines.SuspendFunction1[kotlinx.coroutines.CoroutineScope,kotlin.Unit]/PointingToDeclaration//1281733757"> | ||
<div class="navigation-wrapper" id="navigation-wrapper"> | ||
<div class="breadcrumbs"><a href="../../index.html">Net</a>/<a href="index.html">androidx.lifecycle</a>/<a href="scope-life.html">scopeLife</a></div> | ||
<div class="pull-right d-flex"> | ||
<div id="searchBar"></div> | ||
</div> | ||
</div> | ||
<div class="cover "> | ||
<h1 class="cover"><span>scope</span><wbr></wbr><span>Life</span></h1> | ||
</div> | ||
<div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div> | ||
|
||
<div> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">fun <a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>.<a href="scope-life.html">scopeLife</a>(dispatcher: <span data-unresolved-link="kotlinx.coroutines/CoroutineDispatcher///PointingToDeclaration/">CoroutineDispatcher</span> = Dispatchers.Main, block: suspend <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="../com.drake.net.scope/-android-scope/index.html">AndroidScope</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div> | ||
</div> | ||
<p class="paragraph">在<a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel.html">ViewModel</a>被销毁时取消协程作用域</p></div> | ||
</div> | ||
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2023 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
|
Oops, something went wrong.