This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: injectOrNull() readonly delegate [extensions-koin]
- Loading branch information
Showing
10 changed files
with
125 additions
and
19 deletions.
There are no files selected for viewing
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
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
54 changes: 54 additions & 0 deletions
54
docs/extensions-koin/dev.floofy.utils.koin/inject-or-null.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,54 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> | ||
<title>injectOrNull</title> | ||
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg"> | ||
<script>var pathToRoot = "../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode") | ||
const savedDarkMode = storage ? JSON.parse(storage) : false | ||
if(savedDarkMode === true){ | ||
document.getElementsByTagName("html")[0].classList.add("theme-dark") | ||
}</script> | ||
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async></script> | ||
<link href="../../styles/style.css" rel="Stylesheet"> | ||
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet"> | ||
<link href="../../styles/main.css" rel="Stylesheet"> | ||
<link href="../../styles/prism.css" rel="Stylesheet"> | ||
<link href="../../styles/logo-styles.css" rel="Stylesheet"> | ||
<script type="text/javascript" src="../../scripts/clipboard.js" async></script> | ||
<script type="text/javascript" src="../../scripts/navigation-loader.js" async></script> | ||
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script> | ||
<script type="text/javascript" src="../../scripts/main.js" defer></script> | ||
<script type="text/javascript" src="../../scripts/prism.js" async></script></head> | ||
<body> | ||
<div class="navigation-wrapper" id="navigation-wrapper"> | ||
<div id="leftToggler"><span class="icon-toggler"></span></div> | ||
<div class="library-name"> | ||
<a href="../../index.html"> | ||
<span>commons</span> </a> </div> | ||
<div>2.1.1 | ||
</div> | ||
<div class="pull-right d-flex"> | ||
<button id="theme-toggle-button"><span id="theme-toggle"></span></button> | ||
<div id="searchBar"></div> | ||
</div> | ||
</div> | ||
<div id="container"> | ||
<div id="leftColumn"> | ||
<div id="sideMenu"></div> | ||
</div> | ||
<div id="main"> | ||
<div class="main-content" id="content" pageids="extensions-koin::dev.floofy.utils.koin//injectOrNull/#/PointingToDeclaration//-179136968"> | ||
<div class="breadcrumbs"><a href="../index.html">extensions-koin</a><span class="delimiter">/</span><a href="index.html">dev.floofy.utils.koin</a><span class="delimiter">/</span><a href="inject-or-null.html">injectOrNull</a></div> | ||
<div class="cover "> | ||
<h1 class="cover"><span>inject</span><wbr><span>Or</span><wbr><span><span>Null</span></span></h1> | ||
</div> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":extensions-koin:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="inject-or-null.html">T</a><span class="token operator">> </span><a href="inject-or-null.html"><span class="token function">injectOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/-read-only-property/index.html">ReadOnlyProperty</a><span class="token operator"><</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">?</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="inject-or-null.html">T</a><span class="token operator">?</span><span class="token operator">></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><p class="paragraph">Readonly property to get a reference of <a href="inject-or-null.html">T</a> or null if it wasn't found in the Koin application.</p></div></div> | ||
</div> | ||
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></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> | ||
|
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
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
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
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
Oops, something went wrong.