<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Murat Balcı on Medium]]></title>
        <description><![CDATA[Stories by Murat Balcı on Medium]]></description>
        <link>https://medium.com/@muratbalci1?source=rss-1b0c6baf636b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hmrEdsnffU9QDEJ_sGxXaA.jpeg</url>
            <title>Stories by Murat Balcı on Medium</title>
            <link>https://medium.com/@muratbalci1?source=rss-1b0c6baf636b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:11:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muratbalci1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Jetpack Compose]]></title>
            <link>https://medium.com/@muratbalci1/jetpack-compose-b9d0a550b4f0?source=rss-1b0c6baf636b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9d0a550b4f0</guid>
            <category><![CDATA[compose]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[jetpack-compose-tutorial]]></category>
            <category><![CDATA[jetpack-compose]]></category>
            <dc:creator><![CDATA[Murat Balcı]]></dc:creator>
            <pubDate>Wed, 17 Nov 2021 06:49:42 GMT</pubDate>
            <atom:updated>2021-11-17T06:49:42.284Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kgPa8YFlXBthbLfbuoLKnw.png" /></figure><p><strong>1-Getting Started</strong></p><p>Jetpack Compose is Android’s modern toolkit for building native UI. It simplifies and accelerates UI development on Android bringing your apps to life with less code, powerful tools, and intuitive Kotlin APIs. It makes building Android UI faster and easier. While creating Compose we worked with different partners who experienced all of these benefits first hand and shared some of their takeaways with us.</p><p><strong>2- How to Use Android Studio with Jetpack Compose</strong></p><p>For the best experience developing with Jetpack Compose, you should download <a href="https://developer.android.com/studio">Android Studio Arctic Fox</a>. After you’ve installed Android Studio, follow the instructions below to try a Jetpack Compose sample app, create a new Jetpack Compose app project.</p><p>Step1-Create a New Project</p><p>First, we select the <strong>Empty Compose Activity </strong>option from here. If you want, you can choose No Activity and add Compose Class in the Project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NGxQe96MwCSyUCTQmoF8BA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_FG--XLret7Z43JDxa-LxQ.png" /><figcaption>Create a New Compose Project Step 2</figcaption></figure><p>Yes, Jetpack Compose first screen is here. Now we can create faster designs with Compose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4rio9sJej-J28-lDOFJlPw.png" /><figcaption>Jetpack Compose Project Preview</figcaption></figure><blockquote><strong>İmportant Note<br>Target SDK should be 31, otherwise compose libraries are a problem. </strong><a href="https://androidx.tech/artifacts/activity/activity-compose/"><strong>This site</strong></a><strong> provides information about how many target sdk should be, You can take a look. You can also access other libraries from this site. <br>gradle version = 7.0.3</strong></blockquote><p>Check out Jetpack Compose’s site for more information. <a href="https://developer.android.com/jetpack/compose/why-adopt#intuitive"><strong>https://developer.android.com/jetpack/compose/why-adopt#intuitive</strong></a></p><h3><strong>2-First Code</strong></h3><p>If you want, let’s make a short introduction to Compose.</p><pre>class MainActivity : ComponentActivity() {<br>    override fun onCreate(savedInstanceState: Bundle?) {<br>        super.onCreate(savedInstanceState)<br>        <em>setContent </em><strong>{<br>            </strong><em>ComposeMediumTheme </em><strong>{    </strong><br>                <em>Surface</em>(color = MaterialTheme.colors.background) <strong>{<br>                    </strong><em>Greeting</em>(&quot;Android&quot;)<br>                <strong>}<br>            }<br>        }<br>    </strong>}<br>}<br><br>@Composable<br>fun Greeting(name: String) {<br>    <em>Text</em>(text = &quot;Hello $name!&quot;)<br>}</pre><p>To make a function composable, add the @Composable annotation. If you want to see the design you have made without compilation, it will be enough to put <a href="http://twitter.com/Preview">@Preview</a> Annotation’s</p><pre>@Preview(showBackground = true)<br>@Composable<br>fun DefaultPreview() {<br>    <em>ComposeMediumTheme </em><strong>{<br>        </strong><em>Greeting</em>(&quot;Android&quot;)<br>    <strong>}<br></strong>}</pre><p>The output of the above code is as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JALE4j1tG_5FmikxUEIlkA.png" /></figure><p>That’s all I’m going to tell you for today. But the articles about Compose will continue</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9d0a550b4f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtual DOM Nedir?]]></title>
            <link>https://medium.com/@muratbalci1/virtual-dom-nedir-8e3c95dcde5c?source=rss-1b0c6baf636b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e3c95dcde5c</guid>
            <dc:creator><![CDATA[Murat Balcı]]></dc:creator>
            <pubDate>Thu, 16 Mar 2017 09:46:00 GMT</pubDate>
            <atom:updated>2017-03-16T09:46:00.496Z</atom:updated>
            <content:encoded><![CDATA[<p>Gerçek DOM’a karşılık gelen sanal bir DOM nesnesidir, yani render edilen DOM’un bir kopyasıdır. React her state değişikliğinde render edilen gerçek DOM’u bütünüyle tekrar oluşturmak yerine, state değişikliğini Virtual DOM’a yansıtmaktadır. Bu sayede gerçek DOM ile ve yeni sanal(virtual) DOM arasındaki farklılıkları tespit ederek, gerçek DOM’da yapılacak değişikleri hesaplar ve tek seferde sadece gerçek DOM’da değişen elemanları yeniden render eder. Bu şekilde state her değiştiğinde ana DOM’un tüm elemanlarıyla yeniden oluşturulması maliyetinden korunulmuş ve azami performans iyileştirmesi sağlanmaktadır. Gerçek DOM render edildiğinde, virtual DOM ile eşittir. Virtual DOM’da bir değişiklik meydana geldiğinde, gerçek DOM’a sadece değişikliğe konu alanlar yansıtılır ve her iki DOM tekrar birbirine eşitlenmiş olur. Aşağıdaki grafikte, bu döngü anlatılmaya çalışılmaktadır. Yani kısaca senin DOM nesneleri tutuyor sonra senin yeni yaptığın değişiklikleri alıyor sonra bu ikisini karşılaştırıyor ve değişen kısımları ekliyor bölylece performanstan kazanç sağlamış oluyoruz</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/0*PHEIWoOlzdimDbRI." /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e3c95dcde5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>