<?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 Kotlin Android on Medium]]></title>
        <description><![CDATA[Stories by Kotlin Android on Medium]]></description>
        <link>https://medium.com/@iamkotlindev?source=rss-744a5f6bc99a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*DRilNVWY41JtUamt</url>
            <title>Stories by Kotlin Android on Medium</title>
            <link>https://medium.com/@iamkotlindev?source=rss-744a5f6bc99a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 10:20:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iamkotlindev/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[Reactive Programming Introduction and Basics .]]></title>
            <link>https://medium.com/@iamkotlindev/reactive-programming-introduction-and-basics-840e76b3f121?source=rss-744a5f6bc99a------2</link>
            <guid isPermaLink="false">https://medium.com/p/840e76b3f121</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[reactive-programming]]></category>
            <category><![CDATA[rxandroid]]></category>
            <category><![CDATA[rxjava]]></category>
            <dc:creator><![CDATA[Kotlin Android]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 09:56:35 GMT</pubDate>
            <atom:updated>2018-08-07T10:06:01.341Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi Folks, Now a days its common to hear or read this Word ‘Reactive Programming’ somewhere .So what it is , well lets dive in -</p><h3>What is Reactive Programming?</h3><p>well, it is event-based asynchronous programming ,</p><p>we can create asynchronous data stream and transform the data on any thread and we can consume this data by an Observer on any thread.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*eXana22RutUqmFhJiClT3w.png" /><figcaption>Rx Java and Android</figcaption></figure><p>now when we have some idea of what it is , the next question comes in mind is what is the need of using Reactive Programming -</p><h3>What is the need of Reactive Programming?</h3><p>Main need of Reactive Programming is to improve user experience and to make our application more responsive.Reactive Programming uses asynchronous approach in which every task runs on its own thread and multiple tasks can run simultaneously and using it we can avoid blocking our app’s main thread.</p><p>/<em>Reactive programming is programming with asynchronous data streams.</em>/</p><p>And as we will be following our further tutorials in JAVA &amp; ANDROID , lets start with RxJAVA and RxAndroid.</p><h3>What is RxJAVA?</h3><p>RxJava is a Java VM implementation of Reactive Extensions. where we can create asynchronous data stream on any thread, transform it and these asynchronous data streams can be consumed by Observers on any thread.</p><h3>What is RxAndroid?</h3><p>It is specific to Android Platform with some more added classes on top of RxJava.</p><p>eg.) Schedulers are introduced in RxAndroid and it is more important to support Multithreading in android apps.</p><h3>RxJava Concepts :-</h3><p>There are 2 main components in RxJAVA</p><pre>1. Observable.<br>2. Observer.</pre><p>Observable ≈ An Observable emits the data stream</p><p>Observer ≈ An Observer receives the data emitted by Observable</p><p><em>Multiple Observers can subscribe to a single Observable. and this connection between Observable and Observer is called as Subscription.</em></p><p>and to decide the thread on which Observable should emit the data and on which Observer should receives the data i.e background or main thread etc. we have Schedulers</p><p>another thing is Operator which modifies the data emitted by Observable before an observer receives them.(this data conversion can be done as per our requirements.</p><p>so this is basic overview of Reactive Programming , its need and basics of Rx Java and Rx Android.</p><p>Lets explore more in upcoming tuts. meanwhile if you felt likely hit clap icon Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=840e76b3f121" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>