Skip to content

Commit

Permalink
GitBook: [master] 10 pages and 10 assets modified
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak authored and gitbook-bot committed Dec 10, 2019
1 parent 8abdb07 commit fb5dd64
Show file tree
Hide file tree
Showing 20 changed files with 43 additions and 22 deletions.
Binary file modified .gitbook/assets/image (22).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (23).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (24).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (25).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (26).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (27).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (28).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (29).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .gitbook/assets/image (30).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (32).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -27,7 +27,7 @@ Buradaki içerikler Android'in resmi olarak yayınladığı kurslardan alınmı

## ✨ Yeni İçerikler

{% page-ref page="temel-kavramlar/arkaplanda-calisma/multithreading.md" %}
{% page-ref page="temel-kavramlar/multithreading.md" %}

{% page-ref page="temel-kavramlar/asynctask-ve-asynctaskloader.md" %}

Expand Down
3 changes: 2 additions & 1 deletion SUMMARY.md
Expand Up @@ -17,9 +17,10 @@
* [🌄 Arkaplan'da Çalışma](temel-kavramlar/arkaplanda-calisma/README.md)
* [🔰 Android Servislerine Giriş](temel-kavramlar/arkaplanda-calisma/android-servisleri.md)
* [🌞 Foreground Service](temel-kavramlar/arkaplanda-calisma/foreground-service.md)
* [🌠 MultiThreading](temel-kavramlar/arkaplanda-calisma/multithreading.md)
* [📶 Kablosuz Haberleşme](temel-kavramlar/kablosuz-haberlesme/README.md)
* [📶 WiFi P2P](temel-kavramlar/kablosuz-haberlesme/wifi.md)
* [🌠 MultiThreading](temel-kavramlar/multithreading.md)
* [💽 Room Database](temel-kavramlar/room-database.md)

## Faydalı Bilgiler

Expand Down
2 changes: 1 addition & 1 deletion faydali-bilgiler/activity-oernekleri.md
Expand Up @@ -37,7 +37,7 @@ startActivity(intent)

{% tabs %}
{% tab title="⭐ Örnek" %}
![](../.gitbook/assets/image%20%2831%29.png)
![](../.gitbook/assets/image%20%2832%29.png)
{% endtab %}

{% tab title="Manifest" %}
Expand Down
2 changes: 1 addition & 1 deletion faydali-bilgiler/proje-islemleri.md
Expand Up @@ -12,7 +12,7 @@

![](../.gitbook/assets/image%20%2821%29.png)

![](../.gitbook/assets/image%20%2822%29.png)
![](../.gitbook/assets/image%20%2823%29.png)

![](../.gitbook/assets/image%20%2816%29.png)

Expand Down
2 changes: 1 addition & 1 deletion temel-kavramlar/activity-yasam-doenguesue.md
Expand Up @@ -2,7 +2,7 @@

## 🔄 Activity Yaşam Döngüsü

![](../.gitbook/assets/image%20%2829%29.png)
![](../.gitbook/assets/image%20%2830%29.png)

## 🧱 Metot Prototipi

Expand Down
14 changes: 0 additions & 14 deletions temel-kavramlar/arkaplanda-calisma/multithreading.md

This file was deleted.

2 changes: 1 addition & 1 deletion temel-kavramlar/asynctask-ve-asynctaskloader.md
Expand Up @@ -29,7 +29,7 @@ Android'teki tüm görüntü işlemlerinin yapıldı alandır.
* UI Thread sadece görsel işlemler için kullanılmalıdır
* Tüm işlemler 16ms'den kısa bir sürede tamamlanmalıdır

![](../.gitbook/assets/image%20%2824%29.png)
![](../.gitbook/assets/image%20%2825%29.png)

{% hint style="danger" %}
Yaklaşık olarak 5s'den uzun süren işlemler "[application not responding](http://developer.android.com/guide/practices/responsiveness.html)" \(ANR\) diyaloğunu oluşturur ve kullanıcı bunu görmesi durumunda uygulamayı kapatıp, siler 😥
Expand Down
4 changes: 2 additions & 2 deletions temel-kavramlar/component-isimleri.md
Expand Up @@ -27,13 +27,13 @@ In the figure above:

## 🔀 Navigation Bar

![](../.gitbook/assets/image%20%2826%29.png)
![](../.gitbook/assets/image%20%2827%29.png)

## 🕎 Navigation View

![](../.gitbook/assets/image%20%287%29.png)

## 💬 Alert Dialog

![](../.gitbook/assets/image%20%2827%29.png)
![](../.gitbook/assets/image%20%2828%29.png)

14 changes: 14 additions & 0 deletions temel-kavramlar/multithreading.md
@@ -0,0 +1,14 @@
---
description: Android üzerinde Thread'ler ile arkaplan işlemlerini ele alma
---

# 🌠 MultiThreading

## 📂 Faydalı Kaynaklar

{% file src="../.gitbook/assets/concurrency.pdf" caption="Concurrency" %}

{% file src="../.gitbook/assets/multithreading.pdf" caption="MultiThreading" %}



20 changes: 20 additions & 0 deletions temel-kavramlar/room-database.md
@@ -0,0 +1,20 @@
---
description: Android üzerinde SQLite yerine üretilmiş yeni db formatı
---

# 💽 Room Database

## 💫 Synchronized ile DB'yi Koruma

* 👮‍♂️ Veri tabanına birden çok istek gelmesini engeller
* 🐞 Birden çok isteğin eş zamanlı yapılmaya çalışması **conflict** oluşturacaktır
* 💔 Conflict yapısı veri tabanındaki verilerin uyuşmazlığını belirtir
* 🚫 Birden fazla Thread gelmesi durumunda engellemek için **synchronized** anahtar kelimesi kullanılır
* ✨ Gereksiz Thread engelinden sakınmak için, synchronized yapısı içerisinde tekrardan **if kontrolü** yapılmalıdır

![](../.gitbook/assets/image%20%2822%29.png)

{% hint style="info" %}
👀 Detaylar için [Multi-threading](multithreading.md) alanına bakabilirsin.
{% endhint %}

0 comments on commit fb5dd64

Please sign in to comment.