Skip to content

Commit

Permalink
Deployed 1f83206 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jan 29, 2024
1 parent b283f37 commit c4eb0de
Show file tree
Hide file tree
Showing 36 changed files with 158 additions and 98 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22256%22 height=%22256%22 viewBox=%220 0 100 100%22><text x=%2250%%22 y=%2250%%22 dominant-baseline=%22central%22 text-anchor=%22middle%22 font-size=%2290%22>🗓️</text></svg>">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.5">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.6">



Expand Down Expand Up @@ -950,7 +950,7 @@ <h1>404 - Not found</h1>
<script id="__config" type="application/json">{"base": "/TIL/", "features": ["content.action.edit", "content.action.view", "content.tabs.link", "content.code.copy", "content.code.annotate", "navigation.instant", "navigation.indexes", "navigation.top", "navigation.tracking", "search.highlight", "toc.follow"], "search": "/TIL/assets/javascripts/workers/search.b8dbb3d2.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="/TIL/assets/javascripts/bundle.c18c5fb9.min.js"></script>
<script src="/TIL/assets/javascripts/bundle.e1c3ead8.min.js"></script>


</body>
Expand Down
66 changes: 63 additions & 3 deletions android/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22256%22 height=%22256%22 viewBox=%220 0 100 100%22><text x=%2250%%22 y=%2250%%22 dominant-baseline=%22central%22 text-anchor=%22middle%22 font-size=%2290%22>🗓️</text></svg>">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.5">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.6">



Expand Down Expand Up @@ -470,6 +470,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#espresso-extensions" class="md-nav__link">
<span class="md-ellipsis">
Espresso extensions
</span>
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -1575,6 +1584,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#espresso-extensions" class="md-nav__link">
<span class="md-ellipsis">
Espresso extensions
</span>
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -2360,6 +2378,48 @@ <h3 id="espresso-appnotidleexception">Espresso AppNotIdleException<a class="head
<span class="p">}</span>
</code></pre></div>
<p>This can also happen for <code>AnimatedVectorDrawable</code>s.</p>
<h3 id="espresso-extensions">Espresso extensions<a class="headerlink" href="#espresso-extensions" title="Permanent link">&para;</a></h3>
<div class="highlight"><pre><span></span><code><span class="cm">/**</span>
<span class="cm"> * Simplify [View] assertions by executing the [matches] predicate on the reified instance of [T].</span>
<span class="cm"> *</span>
<span class="cm"> * ```kotlin</span>
<span class="cm"> * onView(withId(id)).check(matches(</span>
<span class="cm"> * that&lt;TextView&gt;(&quot;has non-blank text&quot;) {</span>
<span class="cm"> * !it.text.isNullOrBlank()</span>
<span class="cm"> * }</span>
<span class="cm"> * ))</span>
<span class="cm"> * ```</span>
<span class="cm"> */</span>
<span class="kd">inline</span><span class="w"> </span><span class="kd">fun</span><span class="w"> </span><span class="o">&lt;</span><span class="k">reified</span><span class="w"> </span><span class="n">T</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="n">View</span><span class="o">&gt;</span><span class="w"> </span><span class="nf">that</span><span class="p">(</span>
<span class="w"> </span><span class="n">description</span><span class="p">:</span><span class="w"> </span><span class="kt">String?</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span>
<span class="w"> </span><span class="n">noinline</span><span class="w"> </span><span class="n">matches</span><span class="p">:</span><span class="w"> </span><span class="p">(</span><span class="n">T</span><span class="p">)</span><span class="w"> </span><span class="o">-&gt;</span><span class="w"> </span><span class="kt">Boolean</span><span class="p">,</span>
<span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">object</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="nc">BoundedMatcher</span><span class="o">&lt;</span><span class="n">View</span><span class="p">,</span><span class="w"> </span><span class="n">T</span><span class="o">&gt;</span><span class="p">(</span><span class="n">T</span><span class="o">::</span><span class="n">class</span><span class="p">.</span><span class="na">java</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<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">matchesSafely</span><span class="p">(</span><span class="n">view</span><span class="p">:</span><span class="w"> </span><span class="n">T</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">matches</span><span class="p">(</span><span class="n">view</span><span class="p">)</span>
<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">describeTo</span><span class="p">(</span><span class="n">desc</span><span class="p">:</span><span class="w"> </span><span class="n">Description</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">desc</span><span class="p">.</span><span class="na">appendText</span><span class="p">(</span><span class="n">description</span><span class="w"> </span><span class="o">?:</span><span class="w"> </span><span class="n">matches</span><span class="p">.</span><span class="na">toString</span><span class="p">())</span>
<span class="w"> </span><span class="p">}</span>
<span class="p">}</span>
</code></pre></div>
<div class="highlight"><pre><span></span><code><span class="cm">/**</span>
<span class="cm"> * Simplify [ViewAction] actions by executing the [perform] block on the reified instance of [T].</span>
<span class="cm"> *</span>
<span class="cm"> * ```kotlin</span>
<span class="cm"> * onView(withId(id)).perform(</span>
<span class="cm"> * action&lt;ImageView&gt;(&quot;reset image drawable&quot;) {</span>
<span class="cm"> * it.setImageDrawable(null)</span>
<span class="cm"> * }</span>
<span class="cm"> * )</span>
<span class="cm"> * ```</span>
<span class="cm"> */</span>
<span class="kd">inline</span><span class="w"> </span><span class="kd">fun</span><span class="w"> </span><span class="o">&lt;</span><span class="k">reified</span><span class="w"> </span><span class="n">T</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="n">View</span><span class="o">&gt;</span><span class="w"> </span><span class="nf">action</span><span class="p">(</span>
<span class="w"> </span><span class="n">description</span><span class="p">:</span><span class="w"> </span><span class="kt">String?</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span>
<span class="w"> </span><span class="n">noinline</span><span class="w"> </span><span class="n">perform</span><span class="p">:</span><span class="w"> </span><span class="p">(</span><span class="n">T</span><span class="p">)</span><span class="w"> </span><span class="o">-&gt;</span><span class="w"> </span><span class="kt">Unit</span><span class="p">,</span>
<span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">object</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="nc">ViewAction</span><span class="w"> </span><span class="p">{</span>
<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">getDescription</span><span class="p">()</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">description</span><span class="w"> </span><span class="o">?:</span><span class="w"> </span><span class="n">perform</span><span class="p">.</span><span class="na">toString</span><span class="p">()</span>
<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">getConstraints</span><span class="p">()</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">isAssignableFrom</span><span class="p">(</span><span class="n">T</span><span class="o">::</span><span class="n">class</span><span class="p">.</span><span class="na">java</span><span class="p">)</span>
<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">perform</span><span class="p">(</span><span class="n">uiController</span><span class="p">:</span><span class="w"> </span><span class="n">UiController?,</span><span class="w"> </span><span class="n">view</span><span class="p">:</span><span class="w"> </span><span class="n">View</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">perform</span><span class="p">(</span><span class="n">view</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="n">T</span><span class="p">)</span>
<span class="p">}</span>
</code></pre></div>
<h3 id="firebase-analytics-debug">Firebase Analytics debug<a class="headerlink" href="#firebase-analytics-debug" title="Permanent link">&para;</a></h3>
<p><a href="https://firebase.google.com/docs/analytics/debugview#enabling_debug_mode">🔗</a> Enabling debug mode forces the app to send events immediately instead of waiting for batches.</p>
<div class="highlight"><pre><span></span><code><span class="c1"># Enable</span>
Expand Down Expand Up @@ -3269,7 +3329,7 @@ <h3 id="workmanager-diagnostic">WorkManager diagnostic<a class="headerlink" href
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">January 25, 2024</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">January 29, 2024</span>
</span>


Expand Down Expand Up @@ -3372,7 +3432,7 @@ <h3 id="workmanager-diagnostic">WorkManager diagnostic<a class="headerlink" href
<script id="__config" type="application/json">{"base": "..", "features": ["content.action.edit", "content.action.view", "content.tabs.link", "content.code.copy", "content.code.annotate", "navigation.instant", "navigation.indexes", "navigation.top", "navigation.tracking", "search.highlight", "toc.follow"], "search": "../assets/javascripts/workers/search.b8dbb3d2.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>


<script src="../assets/javascripts/bundle.c18c5fb9.min.js"></script>
<script src="../assets/javascripts/bundle.e1c3ead8.min.js"></script>


</body>
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit c4eb0de

Please sign in to comment.