Skip to content

Commit

Permalink
GitBook: [master] 8 pages and one asset modified
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak authored and gitbook-bot committed Dec 29, 2019
1 parent f379961 commit 1e3b51d
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 16 deletions.
Binary file added .gitbook/assets/image (51).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions arkaplan/asynctask-ve-asynctaskloader.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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%2838%29.png)
![](../.gitbook/assets/image%20%2840%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 All @@ -56,7 +56,7 @@ Verilen işlemi arkaplanda, sistemi bloklamadan tamamlar.

{% tabs %}
{% tab title="🎈 Kullanım" %}
![](../.gitbook/assets/image%20%2831%29.png)
![](../.gitbook/assets/image%20%2832%29.png)

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

Expand Down
2 changes: 1 addition & 1 deletion arkaplan/foreground-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public class TelemetryService extends Service {
* Uygulama üzerindeki tüm bildirimleri susturmak yerine, belli başlı kategorileri susturma avantajı sağlar
* Kategorilere göre bildirim şekillerini düzenlemeye yardımcı olur

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

```java
public class TelemetryService extends Service {
Expand Down
8 changes: 4 additions & 4 deletions faydali/proje-islemleri.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
* Son olarak; Manifestimize girip "package name"i güncelliyoruz.
* Artık başarıyla "package name"i güncellemiş olduk. Emin olmak için projenizi Build etmeyi unutmayın :\)

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

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

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

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

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

2 changes: 1 addition & 1 deletion giris/activity-oernekleri.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ startActivity(intent)

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

{% tab title="Manifest" %}
Expand Down
2 changes: 1 addition & 1 deletion giris/activity-yasam-doenguesue.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

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

## 🧱 Metot Prototipi

Expand Down
14 changes: 14 additions & 0 deletions haberlesme/broadcast/broadcast-receiver.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ private class myReceiver extends BroadcastReceiver {

## 🔸 Receiver Türleri

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

### 🎳 Static Receiver

* 📝 Manifest üzerinden kayıt edilmeleri gerekir
Expand Down Expand Up @@ -96,6 +98,18 @@ LocalBroadcastManager.getInstance(this)
.unregisterReceiver(mReceiver);
```

## 👮‍♂ Broadcast Kısıtlamaları

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

{% hint style="info" %}
‍🧙‍♂ Detaylı bilgi için [Restricting broadcasts](https://google-developer-training.github.io/android-developer-fundamentals-course-concepts-v2/unit-3-working-in-the-background/lesson-7-background-tasks/7-3-c-broadcasts/7-3-c-broadcasts.html#restricting_broadcasts) alanına bakabilirsin.
{% endhint %}

## 🌟 Broadcast Tavsiyeleri

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

## 🔗 Faydalı Bağlantılar

{% embed url="https://google-developer-training.github.io/android-developer-fundamentals-course-concepts-v2/unit-3-working-in-the-background/lesson-7-background-tasks/7-3-c-broadcasts/7-3-c-broadcasts.html\#broadcast\_receivers" %}
Expand Down
6 changes: 3 additions & 3 deletions temel/component-isimleri.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ In the figure above:

## ⚫ Progress Bar

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

## 🔀 Navigation Bar

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

## 🕎 Navigation View

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

## 💬 Alert Dialog

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

8 changes: 4 additions & 4 deletions veriler/room-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {

## 🧱 Temel Yapı

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

## ⭐ Entity Yapısı

Expand Down Expand Up @@ -180,7 +180,7 @@ public abstract class WordRoomDatabase extends RoomDatabase {
* 🦄 Verilerin aktarımı bir defaya mahsus **Constructor** üzerinde yapılır
* 🌠 Verilerin aktarılması **asenkron** olması gerektiğinden [AsyncTask](../arkaplan/asynctask-ve-asynctaskloader.md) yapısı kullanılır

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

```java
public class WordRepository {
Expand Down Expand Up @@ -230,7 +230,7 @@ public class WordRepository {
* 🥚 Context verisi miras alınmalıdır
* 📝 UI ile alakalı bilgilerin kaydı ile uğraşır

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

```java
public class WordViewModel extends AndroidViewModel {
Expand Down Expand Up @@ -262,7 +262,7 @@ public class WordViewModel extends AndroidViewModel {
* [🛳️ DAO](room-database.md#dao-yapisi)
* [🛍️ ViewHolder](room-database.md#viewholder)

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

```java
wordsViewModel.getAllNews().observe(
Expand Down

0 comments on commit 1e3b51d

Please sign in to comment.