Skip to content

Commit

Permalink
GitBook: [master] 18 pages and 17 assets modified
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak authored and gitbook-bot committed Jan 7, 2020
1 parent 5c27b40 commit 7517488
Show file tree
Hide file tree
Showing 35 changed files with 10 additions and 76 deletions.
Binary file added .gitbook/assets/act_life_cycle.png
Loading
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/act_stack.png
Loading
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/act_stack2.png
Loading
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/app_chooser.png
Loading
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/async_task.png
Loading
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/async_task_prototype.png
Loading
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/async_task_ui_thread.png
Loading
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/async_task_worker_thread.png
Loading
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/back_nav_task.png
Loading
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/implicit_intent.png
Loading
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/name_alert_dialog.png
Loading
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/name_inputs.png
Loading
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/name_navbar.png
Loading
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/name_navview.png
Loading
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/name_progressbar.png
Loading
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/name_seekbar.png
Loading
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/sign_yea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions arkaplan/alarm.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

## 🔸 Alarm Türleri

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

## 🧱 Temel İşlemler

### 🏗️ Alarm Kurma
Expand Down
2 changes: 0 additions & 2 deletions arkaplan/android-servisleri.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ description: Android üzerinde arkaplanda çalışan arayüzü olmayan Activity'

## ✍ Yazılı Notlarım <a id="servislere-genel-bakis"></a>

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

## 👀 Servislere Genel Bakış <a id="servislere-genel-bakis"></a>

* 🤔 Arkaplanda çalışan arayüzü olmayan Activity'ler olarak adlandırılabilir
Expand Down
6 changes: 0 additions & 6 deletions arkaplan/asynctask-ve-asynctaskloader.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ 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)

{% 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 😥
{% endhint %}
Expand All @@ -56,8 +54,6 @@ Verilen işlemi arkaplanda, sistemi bloklamadan tamamlar.

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

| 💠 Metot | 📜 Açıklama |
| :--- | :--- |
| `onPreExecute()` | İşlem tamamlanmadan önce ara ara çağrılan metottur, genellikle % dolum bilgisi vermek için kullanılır |
Expand All @@ -79,8 +75,6 @@ public class MyAsyncTask extends AsyncTask <String, Void, Bitmap>{}
* `Void` yapısı, `publishProgress` ve `onProgressUpdate` metotlarının kullanılmayacağını belirtir
* `Bitmap` tipi de, `onPostExecute` ile aktarılan işlem sonucunun tipini belirtir

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

{% hint style="warning" %}
Son iki parametre \(`Void` ve `Bitmap`\) dışarıdan verilmez, sınıf içi parametrelerdir
{% endhint %}
Expand Down
2 changes: 0 additions & 2 deletions arkaplan/foreground-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ 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%2828%29.png)

```java
public class TelemetryService extends Service {
private static final String TAG = "TelemetryService";
Expand Down
4 changes: 0 additions & 4 deletions arkaplan/multithreading.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ description: Android üzerinde Thread'ler ile arkaplan işlemlerini ele alma

## 📂 Faydalı Kaynaklar

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

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



4 changes: 0 additions & 4 deletions faydali/kisisel-notlarim.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ description: Elle yazılmış notlarımı barındırır

## 🏫 Üniversite Notlarım

{% file src="../.gitbook/assets/2019-vize-mp-yemreak.pdf" %}

## 📃 Sayfa İçerikleri

{% file src="../.gitbook/assets/tuem-notlar.pdf" %}



6 changes: 0 additions & 6 deletions faydali/proje-islemleri.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@
* 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%2831%29.png)

8 changes: 4 additions & 4 deletions giris/activity-ve-intentler.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Activity `AndroidManifest.xml` dosyasına aşağıdaki gibi tanıtılmalıdır
</activity>
```

## Explicit Intent ile Activity Başlatma
## 🔝 Explicit Intent ile Activity Başlatma

Yeni `Activity` oluşturulduğunda eskisi **paused** olur

Expand Down Expand Up @@ -171,11 +171,11 @@ public void onActivityResult(int requestCode, int resultCode, Intent data) {

## 🏹 Activity Navigation

### Back navigation, tasks, and the back stack
### Back navigation, tasks, and the back stack

![](../.gitbook/assets/back_nav_task.png)


### Implement Up navigation with a parent Activity
### ⤴ Implement Up navigation with a parent Activity

```markup
<application
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/act_life_cycle.png)

## 🧱 Metot Prototipi

Expand Down
8 changes: 4 additions & 4 deletions giris/implicit-intents.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
* Diğer uygulamalara istekte bulunmayı sağlar
* [✅ App Chooser](implicit-intents.md#app-chooser) adı verilen yapı ile kullanıcıya seçim hakkı tanınır

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

## ✅ App Chooser

##
![](../.gitbook/assets/app_chooser.png)

## ✨ Implicit Intent Oluşturma

Expand Down Expand Up @@ -129,9 +129,9 @@ ShareCompat.IntentBuilder
Bu yapı [Activity Launch Modes](activity-launch-modes.md) ile değiştirilebilmektedir.
{% endhint %}

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

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

## 🔗 Faydalı Kaynaklar

Expand Down
2 changes: 1 addition & 1 deletion gui/androidde-animasyonlar.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{% tabs %}
{% tab title="⭐ Görsel" %}
![](../.gitbook/assets/image%20%2827%29.png)

{% endtab %}

{% tab title="📜 XML Kodları" %}
Expand Down
10 changes: 0 additions & 10 deletions gui/component-isimleri.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,11 @@ In the figure above:

## 🍢 Seek Bar

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

## ⚫ Progress Bar

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

## 🔀 Navigation Bar

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

## 🕎 Navigation View

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

## 💬 Alert Dialog

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

4 changes: 0 additions & 4 deletions gui/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@
* 🍢 Contextual Action Bar
* 🎈 Popup

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

## ⚙️ App bar ve Option Menu

1. 🏹 Navigation
2. 🔤 Title
3. 🏃‍♂️ Actions
4. 🗃️ Overflow

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

1. 🍢 App bar
2. 🏃‍♂️ Action icons
3. 🎛️ Overflow Button
Expand Down
2 changes: 0 additions & 2 deletions haberlesme/broadcast/giris.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@

## ✍ Yazılı Notlarım

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

2 changes: 0 additions & 2 deletions haberlesme/broadcast/olusturma.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ description: Android üzerinde haber (Broadcast) oluşturma

## 👀 Metotlara Göz Atma

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

## 🎈 Normal Broadcast

* 🌃 Sırasız olarak tüm uygulamalara duyurulan haber yapısıdır
Expand Down
4 changes: 0 additions & 4 deletions haberlesme/broadcast/receiver.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ description: Android üzerinde haber (broadcast) alma veya alıcılarının kull
* ☠️ Haliyle işlem asenkron olsa bile broadcast yapısına bağlı olduğundan ölecektir
* 🗨 `AlertDialog` gibi işlemler yerine `Notification` yapısı tercih edilmelidir

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

```java
//Subclass of the BroadcastReceiver class.
private class myReceiver extends BroadcastReceiver {
Expand Down Expand Up @@ -124,8 +122,6 @@ registerReceiver(receiver, filter, Manifest.permission.SEND_SMS, null );

## 🌟 Broadcast Tavsiyeleri

![](../../.gitbook/assets/image%20%2832%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
2 changes: 0 additions & 2 deletions haberlesme/internete-baglanma.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

## ✍ El Notlarım

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

## 👮‍♂️ Gerekli İzinlerin Alınması

* 📃 `AndroidManifest.xml` dosyası üzerinden internet izni alınmalıdır
Expand Down
16 changes: 0 additions & 16 deletions veriler/room-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,13 @@ dependencies {

## 🧱 Temel Yapı

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

## ⭐ Entity Yapısı

* 🧱 DB'ye aktarılacak sütun isimlerini temsil ederler
* 🏷️ [Annotation](https://www.geeksforgeeks.org/annotations-in-java/) yapısı ile özellikleri belirlenir
* 🔸 Tablodaki sütün isimleri entity üzerindeki değişkenlerle temsil edilir
* 👮‍♂️ **Primary key** ve **Entity** etiketini eklemek zorunludur

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

```java
@Entity(tableName = "word_table")
public class Word {
Expand Down Expand Up @@ -102,8 +98,6 @@ public class Word {



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

```java
@Dao
public interface WordDao {
Expand Down Expand Up @@ -145,8 +139,6 @@ public interface WordDao {
* `version` alanında db'nin en son sürümünü belirtin
* 🐛 Versiyon geçişleri arasındaki sorunları engellemek için `fallbackToDestructiveMigration()` özelliği eklenir

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

```java
@Database(entities = {Word.class}, version = 1)
public abstract class WordRoomDatabase extends RoomDatabase {
Expand Down Expand Up @@ -185,8 +177,6 @@ public abstract class WordRoomDatabase extends RoomDatabase {
* 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.png)

{% hint style="info" %}
👀 Detaylar için [Multi-threading](../arkaplan/multithreading.md) alanına bakabilirsin.
{% endhint %}
Expand All @@ -200,8 +190,6 @@ 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)

```java
public class WordRepository {

Expand Down Expand Up @@ -250,8 +238,6 @@ 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)

```java
public class WordViewModel extends AndroidViewModel {

Expand Down Expand Up @@ -282,8 +268,6 @@ public class WordViewModel extends AndroidViewModel {
* [🛳️ DAO](room-database.md#dao-yapisi)
* [🛍️ ViewHolder](room-database.md#viewholder)

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

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

0 comments on commit 7517488

Please sign in to comment.