|
@@ -1,147 +0,0 @@
|
|
|
-<html>
|
|
|
- <head>
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
|
- <title>DialogCallback</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::com.drake.net.callback/DialogCallback///PointingToDeclaration//1281733757">
|
|
|
- <div class="navigation-wrapper" id="navigation-wrapper">
|
|
|
- <div class="breadcrumbs"><a href="../../../index.html">Net</a>/<a href="../index.html">com.drake.net.callback</a>/<a href="index.html">DialogCallback</a></div>
|
|
|
- <div class="pull-right d-flex">
|
|
|
- <div id="searchBar"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="cover ">
|
|
|
- <h1 class="cover"><span>Dialog</span><wbr></wbr><span>Callback</span></h1>
|
|
|
- <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">abstract class <a href="index.html">DialogCallback</a><<a href="index.html">T</a>>(activity: <a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/FragmentActivity.html">FragmentActivity</a>, dialog: <a href="https://developer.android.com/reference/kotlin/android/app/Dialog.html">Dialog</a>?, cancelable: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>) : <a href="../../com.drake.net.interfaces/-net-callback/index.html">NetCallback</a><<a href="index.html">T</a>> , <a href="https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleObserver.html">LifecycleObserver</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><p class="paragraph">会自动在网络请求开始显示加载对话框, 在网络请求时关闭对话框.</p></div></div>
|
|
|
- </div>
|
|
|
- <div class="tabbedcontent">
|
|
|
- <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Constructors">Constructors</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
|
|
|
- <div class="tabs-section-body">
|
|
|
- <h2 class="tabbedcontent">Constructors</h2>
|
|
|
- <div class="table" data-togglable="Constructors"><a data-name="82953976%2FConstructors%2F1281733757" anchor-label="DialogCallback" id="82953976%2FConstructors%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 TabbedContent">
|
|
|
- <div class=""><span class="inline-flex"><a href="-dialog-callback.html">DialogCallback</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="82953976%2FConstructors%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="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="-dialog-callback.html">DialogCallback</a>(activity: <a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/FragmentActivity.html">FragmentActivity</a>, dialog: <a href="https://developer.android.com/reference/kotlin/android/app/Dialog.html">Dialog</a>? = null, cancelable: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true)<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>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <h2 class="">Functions</h2>
|
|
|
- <div class="table" data-togglable="Functions"><a data-name="-1846882934%2FFunctions%2F1281733757" anchor-label="dismiss" id="-1846882934%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="dismiss.html">dismiss</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1846882934%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="dismiss.html">dismiss</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>
|
|
|
-</div>
|
|
|
-</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-<a data-name="-333503832%2FFunctions%2F1281733757" anchor-label="onComplete" id="-333503832%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="on-complete.html">onComplete</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-333503832%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"><div class="block"><div class="block">@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/MainThread.html">MainThread</a>()</div></div>open override fun <a href="on-complete.html">onComplete</a>(call: <span data-unresolved-link="okhttp3/Call///PointingToDeclaration/">Call</span>, e: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</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="-333503832%2FFunctions%2F1281733757" anchor-label="onComplete" id="-333503832%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-333503832%2FFunctions%2F1281733757" anchor-label="onComplete" id="-333503832%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>网络请求完成</div></div>
|
|
|
-</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-<a data-name="-1597312543%2FFunctions%2F1281733757" anchor-label="onStart" id="-1597312543%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="on-start.html">onStart</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1597312543%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"><div class="block"><div class="block">@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/MainThread.html">MainThread</a>()</div></div>open override fun <a href="on-start.html">onStart</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</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="-1597312543%2FFunctions%2F1281733757" anchor-label="onStart" id="-1597312543%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-1597312543%2FFunctions%2F1281733757" anchor-label="onStart" id="-1597312543%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>网络请求开始</div></div>
|
|
|
-</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <h2 class="">Properties</h2>
|
|
|
- <div class="table" data-togglable="Properties"><a data-name="1705297239%2FProperties%2F1281733757" anchor-label="activity" id="1705297239%2FProperties%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="activity.html">activity</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1705297239%2FProperties%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="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><a data-name="1705297239%2FProperties%2F1281733757" anchor-label="activity" id="1705297239%2FProperties%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="symbol monospace">val <a href="activity.html">activity</a>: <a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/FragmentActivity.html">FragmentActivity</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 class="brief "><a data-name="1705297239%2FProperties%2F1281733757" anchor-label="activity" id="1705297239%2FProperties%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>加载对话框所在的Activity</div></div></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-<a data-name="-1443837198%2FProperties%2F1281733757" anchor-label="cancelable" id="-1443837198%2FProperties%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="cancelable.html">cancelable</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1443837198%2FProperties%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="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><a data-name="-1443837198%2FProperties%2F1281733757" anchor-label="cancelable" id="-1443837198%2FProperties%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="symbol monospace">val <a href="cancelable.html">cancelable</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true<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 class="brief "><a data-name="-1443837198%2FProperties%2F1281733757" anchor-label="cancelable" id="-1443837198%2FProperties%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>加载对话框是否可以手动取消.</div></div></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-<a data-name="-560571522%2FProperties%2F1281733757" anchor-label="dialog" id="-560571522%2FProperties%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="dialog.html">dialog</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-560571522%2FProperties%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="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><a data-name="-560571522%2FProperties%2F1281733757" anchor-label="dialog" id="-560571522%2FProperties%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="symbol monospace">var <a href="dialog.html">dialog</a>: <a href="https://developer.android.com/reference/kotlin/android/app/Dialog.html">Dialog</a>? = null<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 class="brief "><a data-name="-560571522%2FProperties%2F1281733757" anchor-label="dialog" id="-560571522%2FProperties%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>单例加载对话框.</div></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>© 2022 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>
|
|
|
-
|