Skip to content

Commit

Permalink
deploy: 95c50a5
Browse files Browse the repository at this point in the history
  • Loading branch information
danim1130 committed Sep 14, 2024
1 parent d363c9f commit 35f2131
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 35 deletions.
34 changes: 18 additions & 16 deletions laborok/calculator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ <h2 id="projekt-letrehozasa">Projekt létrehozása<a class="headerlink" href="#p
<li>A projekt neve legyen <code>Calculator</code>, a kezdő package pedig <code>hu.bme.aut.android.calculator</code>.</li>
<li>Nyelvnek továbbra is a <strong>Kotlin</strong>-t használjuk.</li>
<li>A minimum API szint pedig legyen <strong>24: Android 7.0 (Nougat)</strong>.</li>
<li>A Build configuration language legyen <strong>Kotlin DSL</strong>.</li>
</ol>
<p><a class="glightbox" href="assets/new_project.png" data-type="image" data-width="auto" data-height="auto" data-desc-position="bottom"><img alt="" src="assets/new_project.png" /></a></p>
<div class="admonition danger">
Expand All @@ -997,10 +998,15 @@ <h2 id="projekt-letrehozasa">Projekt létrehozása<a class="headerlink" href="#p
</div>
<p>Ha ezzel megvagyunk, akkor térjünk rá a <em>Gradle</em> fájlokra, amik a projektünk buildelési folyamatának konfigurációjáért felelnek. Elsőre nézzük a <strong>project</strong> szintű <em>Gradle</em> fájlt:</p>
<p>A <em>Jetpack Navigation</em> könyvtár használata miatt vegyük fel a többi plugin mellé a <code>androidx.navigation.safeargs</code>-ot:</p>
<div class="highlight"><pre><span></span><code><span class="n">plugins</span><span class="w"> </span><span class="o">{</span>
<span class="w"> </span><span class="o">...</span>
<span class="w"> </span><span class="n">id</span><span class="o">(</span><span class="s2">&quot;androidx.navigation.safeargs&quot;</span><span class="o">)</span><span class="w"> </span><span class="n">version</span><span class="w"> </span><span class="s2">&quot;2.7.7&quot;</span><span class="w"> </span><span class="n">apply</span><span class="w"> </span><span class="kc">false</span>
<span class="o">}</span>
<div class="highlight"><pre><span></span><code><span class="n">buildscript</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">repositories</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">google</span><span class="p">()</span>
<span class="w"> </span><span class="p">}</span>
<span class="w"> </span><span class="n">dependencies</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="nv">nav_version</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;2.8.0&quot;</span>
<span class="w"> </span><span class="n">classpath</span><span class="p">(</span><span class="s">&quot;androidx.navigation:navigation-safe-args-gradle-plugin:</span><span class="si">$</span><span class="n">nav_version</span><span class="s">&quot;</span><span class="p">)</span>
<span class="w"> </span><span class="p">}</span>
<span class="p">}</span>
</code></pre></div>
<p>Nyissuk meg a <strong>module</strong> szintű <em>Gradle</em> fájlunkat.</p>
<p>Engedélyezzük a View Binding-ot:</p>
Expand All @@ -1012,10 +1018,6 @@ <h2 id="projekt-letrehozasa">Projekt létrehozása<a class="headerlink" href="#p
<span class="w"> </span><span class="o">}</span>
<span class="o">}</span>
</code></pre></div>
<p>Győződjünk meg arról, hogy a függőségként felvett könyvtárak verziója a lehető legfrissebb. (Ez akkor áll fenn, ha egyik könyvtár sincs sárga színnel (<em>Warning</em>) kiemelve.)</p>
<div class="admonition info">
<p>Ha szerepelnének ilyen figyelmeztetések, akkor a kurzorunkat a megfelelő könyvtár felé vive megjelenik egy ablak, amin belül a <code>Change to 'some_version'</code>-re kattintva módosíthatjuk az aktuális verziót egy újabbra.</p>
</div>
<p>Vegyük fel azokat a további függőségeket, amikre még szükségünk lesz a projekt során. Ehhez a pluginok közé még vegyük fel a <code>androidx.navigation.safeargs.kotlin</code>-t.</p>
<div class="highlight"><pre><span></span><code><span class="n">plugins</span><span class="w"> </span><span class="o">{</span>
<span class="w"> </span><span class="o">...</span>
Expand All @@ -1026,9 +1028,8 @@ <h2 id="projekt-letrehozasa">Projekt létrehozása<a class="headerlink" href="#p

<span class="n">dependencies</span><span class="w"> </span><span class="o">{</span>
<span class="w"> </span><span class="o">...</span>
<span class="w"> </span><span class="n">val</span><span class="w"> </span><span class="n">nav_version</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;2.7.7&quot;</span>
<span class="w"> </span><span class="n">implementation</span><span class="w"> </span><span class="o">(</span><span class="s2">&quot;androidx.navigation:navigation-fragment-ktx:$nav_version&quot;</span><span class="o">)</span>
<span class="w"> </span><span class="n">implementation</span><span class="w"> </span><span class="o">(</span><span class="s2">&quot;androidx.navigation:navigation-ui-ktx:$nav_version&quot;</span><span class="o">)</span>
<span class="w"> </span><span class="n">implementation</span><span class="w"> </span><span class="o">(</span><span class="n">libs</span><span class="o">.</span><span class="na">androidx</span><span class="o">.</span><span class="na">navigation</span><span class="o">.</span><span class="na">fragment</span><span class="o">.</span><span class="na">ktx</span><span class="o">)</span>
<span class="w"> </span><span class="n">implementation</span><span class="w"> </span><span class="o">(</span><span class="n">libs</span><span class="o">.</span><span class="na">androidx</span><span class="o">.</span><span class="na">navigation</span><span class="o">.</span><span class="na">ui</span><span class="o">.</span><span class="na">ktx</span><span class="o">)</span>
<span class="o">}</span>
</code></pre></div>
<p>Ha végeztünk szinkronizáljuk a <em>Gradle</em> fájlokat. (Ha esetleg nem lenne, meg hogy ezt hol lehet, akkor a <em>SHIFT</em> gomb dupla lenyomásával megnyílik egy kereső, amiben a <em>Sync project with Gradle files</em>-t megadva ez elvégezhető.) </p>
Expand Down Expand Up @@ -1088,6 +1089,7 @@ <h2 id="jetpack-navigation">Jetpack Navigation<a class="headerlink" href="#jetpa
<span class="nt">&lt;androidx.constraintlayout.widget.ConstraintLayout</span><span class="w"> </span><span class="na">xmlns:android=</span><span class="s">&quot;http://schemas.android.com/apk/res/android&quot;</span>
<span class="w"> </span><span class="na">xmlns:app=</span><span class="s">&quot;http://schemas.android.com/apk/res-auto&quot;</span>
<span class="w"> </span><span class="na">xmlns:tools=</span><span class="s">&quot;http://schemas.android.com/tools&quot;</span>
<span class="w"> </span><span class="na">android:id=</span><span class="s">&quot;@+id/main&quot;</span>
<span class="w"> </span><span class="na">android:layout_width=</span><span class="s">&quot;match_parent&quot;</span>
<span class="w"> </span><span class="na">android:layout_height=</span><span class="s">&quot;match_parent&quot;</span>
<span class="w"> </span><span class="na">tools:context=</span><span class="s">&quot;.MainActivity&quot;</span><span class="nt">&gt;</span>
Expand Down Expand Up @@ -2093,8 +2095,8 @@ <h2 id="onallo-feladat-kontextus-fuggo-mezotorles">Önálló feladat - Kontextus
</path>
</svg>
</span>
<span title="2024. március 7. 13:29:18">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-03-07T13:29:18+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-03-07</span>
<span title="2024. szeptember 15. 00:54:30">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-09-15T00:54:30+02:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-09-15</span>
</span>
</span>

Expand All @@ -2109,10 +2111,10 @@ <h2 id="onallo-feladat-kontextus-fuggo-mezotorles">Önálló feladat - Kontextus
</svg>
</span>
<span>Szerzők</span>
<nav><a href="https://github.com/kpomazi" target="_blank" rel="noopener noreferrer" class="md-author" title="@kpomazi">
<img src="https://avatars.githubusercontent.com/u/22079595?v=4?size=72" alt="@kpomazi">
</a><a href="https://github.com/danim1130" target="_blank" rel="noopener noreferrer" class="md-author" title="@danim1130">
<nav><a href="https://github.com/danim1130" target="_blank" rel="noopener noreferrer" class="md-author" title="@danim1130">
<img src="https://avatars.githubusercontent.com/u/8405234?v=4?size=72" alt="@danim1130">
</a><a href="https://github.com/kpomazi" target="_blank" rel="noopener noreferrer" class="md-author" title="@kpomazi">
<img src="https://avatars.githubusercontent.com/u/22079595?v=4?size=72" alt="@kpomazi">
</a><a href="https://github.com/gazdilaci" target="_blank" rel="noopener noreferrer" class="md-author" title="@gazdilaci">
<img src="https://avatars.githubusercontent.com/u/23335752?v=4?size=72" alt="@gazdilaci">
</a><a href="https://github.com/hlev97" target="_blank" rel="noopener noreferrer" class="md-author" title="@hlev97">
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,92 +2,92 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-09-13</lastmod>
<lastmod>2024-09-14</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 35f2131

Please sign in to comment.