mirror of
https://github.com/InsanusMokrassar/docs.git
synced 2024-11-22 16:24:00 +00:00
deploy: fce4d336c0
This commit is contained in:
parent
46d3ac4ce3
commit
042a9c17d3
@ -2248,9 +2248,9 @@ navigation:</p>
|
||||
</span><span id="__span-2-28"><a id="__codelineno-2-28" name="__codelineno-2-28" href="#__codelineno-2-28"></a>
|
||||
</span><span id="__span-2-29"><a id="__codelineno-2-29" name="__codelineno-2-29" href="#__codelineno-2-29"></a><span class="kd">object</span><span class="w"> </span><span class="nc">MainNodeFactory</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="n">NavigationNodeFactory</span><span class="o"><</span><span class="n">NavigationNodeDefaultConfig</span><span class="o">></span><span class="w"> </span><span class="p">{</span>
|
||||
</span><span id="__span-2-30"><a id="__codelineno-2-30" name="__codelineno-2-30" href="#__codelineno-2-30"></a><span class="w"> </span><span class="kd">override</span><span class="w"> </span><span class="kd">fun</span><span class="w"> </span><span class="nf">createNode</span><span class="p">(</span>
|
||||
</span><span id="__span-2-31"><a id="__codelineno-2-31" name="__codelineno-2-31" href="#__codelineno-2-31"></a><span class="w"> </span><span class="n">navigationChain</span><span class="p">:</span><span class="w"> </span><span class="n">NavigationChain</span><span class="o"><</span><span class="n">Base</span><span class="o">></span><span class="p">,</span>
|
||||
</span><span id="__span-2-32"><a id="__codelineno-2-32" name="__codelineno-2-32" href="#__codelineno-2-32"></a><span class="w"> </span><span class="n">config</span><span class="p">:</span><span class="w"> </span><span class="n">Base</span>
|
||||
</span><span id="__span-2-33"><a id="__codelineno-2-33" name="__codelineno-2-33" href="#__codelineno-2-33"></a><span class="w"> </span><span class="p">):</span><span class="w"> </span><span class="n">NavigationNode</span><span class="o"><</span><span class="k">out</span><span class="w"> </span><span class="n">Base</span><span class="p">,</span><span class="w"> </span><span class="n">Base</span><span class="o">>?</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">config</span><span class="w"> </span><span class="k">is</span><span class="w"> </span><span class="n">MainConfig</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
|
||||
</span><span id="__span-2-31"><a id="__codelineno-2-31" name="__codelineno-2-31" href="#__codelineno-2-31"></a><span class="w"> </span><span class="n">navigationChain</span><span class="p">:</span><span class="w"> </span><span class="n">NavigationChain</span><span class="o"><</span><span class="n">NavigationNodeDefaultConfig</span><span class="o">></span><span class="p">,</span>
|
||||
</span><span id="__span-2-32"><a id="__codelineno-2-32" name="__codelineno-2-32" href="#__codelineno-2-32"></a><span class="w"> </span><span class="n">config</span><span class="p">:</span><span class="w"> </span><span class="n">NavigationNodeDefaultConfig</span>
|
||||
</span><span id="__span-2-33"><a id="__codelineno-2-33" name="__codelineno-2-33" href="#__codelineno-2-33"></a><span class="w"> </span><span class="p">):</span><span class="w"> </span><span class="n">NavigationNode</span><span class="o"><</span><span class="k">out</span><span class="w"> </span><span class="n">NavigationNodeDefaultConfig</span><span class="p">,</span><span class="w"> </span><span class="n">NavigationNodeDefaultConfig</span><span class="o">>?</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">config</span><span class="w"> </span><span class="k">is</span><span class="w"> </span><span class="n">MainConfig</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
|
||||
</span><span id="__span-2-34"><a id="__codelineno-2-34" name="__codelineno-2-34" href="#__codelineno-2-34"></a><span class="w"> </span><span class="n">MainNode</span><span class="p">(</span><span class="n">config</span><span class="p">,</span><span class="w"> </span><span class="n">navigationChain</span><span class="p">)</span><span class="w"> </span><span class="c1">// Or `MainNodeView(config, chain)` for MVVM</span>
|
||||
</span><span id="__span-2-35"><a id="__codelineno-2-35" name="__codelineno-2-35" href="#__codelineno-2-35"></a><span class="w"> </span><span class="p">}</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="p">{</span>
|
||||
</span><span id="__span-2-36"><a id="__codelineno-2-36" name="__codelineno-2-36" href="#__codelineno-2-36"></a><span class="w"> </span><span class="kc">null</span>
|
||||
|
File diff suppressed because one or more lines are too long
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
Loading…
Reference in New Issue
Block a user