Skip to content

Commit

Permalink
GitBook: [master] one page modified
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak authored and gitbook-bot committed Jan 27, 2020
1 parent 5f0a232 commit 00c4ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fonksiyonlar.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* ➕ Olmayan metotları sınıflara sonradan dahil edebilirsiniz
* 💁‍♂️ Tanımlı olan sınıflara `.` operatörü ile metotlar ekleyebilirsiniz
* 🐥 Metot yerine `get() =` yapısı ile property \(özellik\) de eklenebilir
* 👇 Alttaki örnekte `Uri` sınıfına `getInputStream` metodu ekliyoruz
* 👇 Alttaki örneklerde `Uri` ve `WifiP2pInfo` sınıfına metodu ve özellik ekliyoruz

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

Expand Down Expand Up @@ -42,6 +42,6 @@ info.isServer
```

{% hint style="warning" %}
📢 `Uri` sınıfı temel java sınıflarından birisidir
📢 `Uri` ve `WifiP2pInfo` sınıfı temel java sınıflarından birisidir
{% endhint %}

0 comments on commit 00c4ab0

Please sign in to comment.