<?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 Adetayo James on Medium]]></title>
        <description><![CDATA[Stories by Adetayo James on Medium]]></description>
        <link>https://medium.com/@adetayo_james?source=rss-3436caf66649------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hcB4iZ16MtVTZhhB.jpg</url>
            <title>Stories by Adetayo James on Medium</title>
            <link>https://medium.com/@adetayo_james?source=rss-3436caf66649------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:32:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adetayo_james/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[How to install plugins in Android Studio]]></title>
            <link>https://medium.com/@adetayo_james/how-to-install-plugins-in-android-studio-f64f1d584438?source=rss-3436caf66649------2</link>
            <guid isPermaLink="false">https://medium.com/p/f64f1d584438</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-studio-plugins]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Adetayo James]]></dc:creator>
            <pubDate>Wed, 11 Oct 2017 15:02:44 GMT</pubDate>
            <atom:updated>2017-10-11T15:02:44.759Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*7PktPIVe5jSsSZOw4hjS0g.png" /></figure><p>Some times little but important things like how to install a plugin can just skip ones memory or better still beginners might be trying out a tutorial and wondering, how can a plugin be installed on Android Studio. This article will address that concisely. Follow along as we walk through.</p><p>For someone who does not know what a plugin is, here is a simple definition. A plugin is a feature specific component added to a program such as an IDE (in this case Android Studio). A plugin is usually designed to augment for some specific features that a program did not originally come with. This helps in increasing the developers efficiency. Examples of plugins include the kotlin plugin for Android Studio 2.3.3, the android parcelable code generator plugin, Android Material Design Icon generator, Butterknife Zelezny, and so many others.</p><p>Now let’s go into the business of the day. It is assumed you have Android Studio (for this article I am using version 2.3.3) installed properly on your machine and internet connection. Follow the steps outlined below.</p><ol><li>Run Android Studio. You might need to create a sample demo app just to fully allow the plugin install. You can also open an existing project.</li><li>Click on the File menu or use Alt + F to access the file menu. And then click on Settings as shown below.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*wD1bVCwRwEPH3pBnZ5aNdw.png" /><figcaption>Click on Settings on Android Studio File Menu</figcaption></figure><p>The Settings Window can also be accessed directly using Ctrl + Alt + S .</p><p>3. On the Settings window, Click on the Plugins tab on the side menu. There are three buttons below the list of installed plugins displayed. The first is meant for installing JetBrains plugins, the second is for installing plugins in repositories other than that of JetBrains while the last is to install a plugin that has already been downloaded to your local disk. Click one of the buttons that fall in the most suitable category.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S8DQvN6y43gucK20VtSeqw.png" /><figcaption>Settings Window</figcaption></figure><p>4. On Browse plugins window that is opened, type in the name of the plugin to be installed on the search text field and click the green Install button on the right hand side. After the installation is complete, click the Close button just at the bottom right hand corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTaCRDV-9GEnklIbYQ1NvQ.png" /><figcaption>Browse Plugins Window</figcaption></figure><p>5. On the Settings window you can search for the plugin to confirm the installation and click the Ok button.</p><p>After these brief steps, you have your plugin installed and functional on Android Studio.</p><p>Quite simple right? That’s it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f64f1d584438" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implement Parcelable in Android]]></title>
            <link>https://medium.com/@adetayo_james/implement-parcelable-in-android-4d20994f0510?source=rss-3436caf66649------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d20994f0510</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[parcelable]]></category>
            <dc:creator><![CDATA[Adetayo James]]></dc:creator>
            <pubDate>Mon, 02 Oct 2017 22:04:05 GMT</pubDate>
            <atom:updated>2017-10-11T15:04:30.318Z</atom:updated>
            <content:encoded><![CDATA[<p>In some cases where you need to navigate from one activity to another, it might be necessary to carry along some form of data perhaps with the launching intent of the new activity. As an android developer who is interested in best practices, you might want to consider implementing the parcelable interface on the moving object class (POJO).</p><p>The question now would be what is a Parcelable? A parcelable is an interface for classes whose instances can be written to and restored from a Parcel. And a Parcel is simply a container for message (object classes and references). A parcelable (interface) can be implemented on a parcel (object class). For further explanation on the definition please refer to the Android Developers Documentation from the links below.</p><ul><li><a href="https://developer.android.com/reference/android/os/Parcel.html">Parcel | Android Developers</a></li><li><a href="https://developer.android.com/reference/android/os/Parcelable.html">Parcelable | Android Developers</a></li></ul><p>When object classes are to be used to convey data from one activity to another, there is need to optimize the object for best performance on the device that the app is to be deployed and this is what the Parcelable implementation on the object class does. <br>Parcelables can be implemented on both simple objects and complex objects. When we dive into code as we will shortly, you will see how a Parcelable can be used in both cases. Parcelable is part of the Android SDK and there is a plugin you can install on your Android Studio. We would also see how to use this plugin to auto generate the implementation of the Parcelable interface on an object class.</p><p>Now lets code!</p><p>Create a sample project in Android Studio and name it ParcelableSample or ParcelableDemo or any name of your choice. For the scope of this article, it should be an empty project, an activity or layout file is not yet needed.<br>After creating a sample project:<br>1. Create a new java class in the package folder and name it Organization as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rfmj2a_wh281R-zTw6reOA.png" /><figcaption>Creating a new object class for Organization</figcaption></figure><p>2. Update the Organization class you just created into a POJO by adding some properties to it as shown below. Note that the properties are of different data types for clarity of concept.</p><p>3. Next is to make this POJO class to implement the Parcelable interface as discussed earlier. To do this there are two approaches;</p><p>a. First by installing the Android Parcelable code generator plugin on your Android Studio (in another article to come, we would look at how to install a plugin in Android Studio) which will be used to auto generate the implementation code. To do this right click on any space in the open class file, then click on generate or use the Alt + Insert shortcut keys. Click parcelable on the pop-up after which you select all the properties to be included in the implementation as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*QF0MooAzvL87Hikcyo87yQ.png" /><figcaption>Selecting fields to include in the parcelable implementation.</figcaption></figure><p>b. Secondly manually update your code (This method is quite strenuous).</p><p>The result of the above steps will look like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5e5834938144d579b7365ec5221ae7d6/href">https://medium.com/media/5e5834938144d579b7365ec5221ae7d6/href</a></iframe><p>And voila the parcelable interface has been implemented on the Organization class that was created for this demo project.</p><p>The link below is for the full source code of this demo implementation.</p><p><a href="https://github.com/adeoluwagbemiga/ParcelableSample">adeoluwagbemiga/ParcelableSample</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d20994f0510" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>