Skip to content

Commit

Permalink
deploy: 887c91c
Browse files Browse the repository at this point in the history
  • Loading branch information
tibitoth committed Oct 21, 2024
1 parent 0bbb290 commit 2c99ed6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 29 deletions.
18 changes: 10 additions & 8 deletions laborok/07-android-network/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ <h2 id="az-idojaras-nezet-letrehozasa-es-bekotese-a-navigacioba-2-pont">Az időj
<h3 id="az-architektura-kialakitasa_1">Az architektúra kialakítása<a class="headerlink" href="#az-architektura-kialakitasa_1" title="Permanent link">&para;</a></h3>
<p>Az adataink áramlása hasonló lesz a már korábban látottakhoz, (<em>repository</em> -&gt; <em>viewmodel</em> -&gt; <em>screen</em>) szóval készítsük is el ezeket.</p>
<h4 id="modell-osztalyok">Modell osztályok<a class="headerlink" href="#modell-osztalyok" title="Permanent link">&para;</a></h4>
<p>Az <a href="https://openweathermap.org/current">OpenWeatherMAp API</a> a kéréseinkre válaszként egy JSON objektumban fogja visszaadni az aktuális időjárást. </p>
<p>Az <a href="https://openweathermap.org/current">OpenWeatherMap API</a> a kéréseinkre válaszként egy JSON objektumban fogja visszaadni az aktuális időjárást. </p>
<div class="admonition info">
<p class="admonition-title">API hívás (az {appID} lecserélendő a sajátra)</p>
<p><a href="https://api.openweathermap.org/data/2.5/weather?q=Budapest&amp;units=metric&amp;appid={appId">https://api.openweathermap.org/data/2.5/weather?q=Budapest&amp;units=metric&amp;appid={appId</a>}</p>
Expand Down Expand Up @@ -2303,10 +2303,10 @@ <h4 id="a-viewmodel_1">A ViewModel<a class="headerlink" href="#a-viewmodel_1" ti
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="nv">Factory</span><span class="p">:</span><span class="w"> </span><span class="n">ViewModelProvider</span><span class="p">.</span><span class="na">Factory</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">viewModelFactory</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">initializer</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">savedStateHandle</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">createSavedStateHandle</span><span class="p">()</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="nv">weatherReposotory</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">WeatherInfoApplication</span><span class="p">.</span><span class="na">weatherRepository</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="nv">weatherRepository</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">WeatherInfoApplication</span><span class="p">.</span><span class="na">weatherRepository</span>
<span class="w"> </span><span class="n">WeatherViewModel</span><span class="p">(</span>
<span class="w"> </span><span class="n">savedStateHandle</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">savedStateHandle</span><span class="p">,</span>
<span class="w"> </span><span class="n">weatherRepository</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">weatherReposotory</span>
<span class="w"> </span><span class="n">weatherRepository</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">weatherRepository</span>
<span class="w"> </span><span class="p">)</span>
<span class="w"> </span><span class="p">}</span>
<span class="w"> </span><span class="p">}</span>
Expand Down Expand Up @@ -2684,7 +2684,7 @@ <h2 id="onallo-feladat-varos-listabol-torles-megvalositasa-1-pont">Önálló fel
<summary>A megvalósítás lépései</summary>
<ul>
<li>törlés függvény a <em>repository interface</em>-be</li>
<li>törlés függvény a <em>rapository</em>-ba</li>
<li>törlés függvény a <em>repository</em>-ba</li>
<li>törlés függvény a <em>viewmodel</em>-be</li>
<li>törlés eseménykezelő a <em>CityListScreen</em>-be</li>
</ul>
Expand All @@ -2704,8 +2704,8 @@ <h2 id="onallo-feladat-varos-listabol-torles-megvalositasa-1-pont">Önálló fel
</path>
</svg>
</span>
<span title="2024. október 14. 10:31:33">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-10-14T10:31:33+02:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-10-14</span>
<span title="2024. október 19. 13:56:12">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-10-19T13:56:12+02:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-10-19</span>
</span>
</span>

Expand All @@ -2720,10 +2720,12 @@ <h2 id="onallo-feladat-varos-listabol-torles-megvalositasa-1-pont">Önálló fel
</svg>
</span>
<span>Szerzők</span>
<nav><a href="https://github.com/norbertkurcsi" target="_blank" rel="noopener noreferrer" class="md-author" title="@norbertkurcsi">
<img src="https://avatars.githubusercontent.com/u/90260479?v=4?size=72" alt="@norbertkurcsi">
<nav><a href="https://github.com/Zotyamester" target="_blank" rel="noopener noreferrer" class="md-author" title="@Zotyamester">
<img src="https://avatars.githubusercontent.com/u/40998048?v=4?size=72" alt="@Zotyamester">
</a><a href="https://github.com/web-flow" target="_blank" rel="noopener noreferrer" class="md-author" title="@web-flow">
<img src="https://avatars.githubusercontent.com/u/19864447?v=4?size=72" alt="@web-flow">
</a><a href="https://github.com/norbertkurcsi" target="_blank" rel="noopener noreferrer" class="md-author" title="@norbertkurcsi">
<img src="https://avatars.githubusercontent.com/u/90260479?v=4?size=72" alt="@norbertkurcsi">
</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/AlmosF" target="_blank" rel="noopener noreferrer" class="md-author" title="@AlmosF">
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,102 +2,102 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-10-15</lastmod>
<lastmod>2024-10-21</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 2c99ed6

Please sign in to comment.