<?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 Kanyinsola Oyindamola Fapohunda on Medium]]></title>
        <description><![CDATA[Stories by Kanyinsola Oyindamola Fapohunda on Medium]]></description>
        <link>https://medium.com/@kanyinsola_f?source=rss-5e46127d773a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*t7aw_hNUjwhYT-LzEEBiFA.jpeg</url>
            <title>Stories by Kanyinsola Oyindamola Fapohunda on Medium</title>
            <link>https://medium.com/@kanyinsola_f?source=rss-5e46127d773a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:48:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kanyinsola_f/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[My ALC Experience | A Guide to passing the Google Associate Android Developer Exam]]></title>
            <link>https://medium.com/@kanyinsola_f/my-alc-experience-a-guide-to-passing-the-google-associate-android-developer-exam-d8b3479a8e9e?source=rss-5e46127d773a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8b3479a8e9e</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[android-development]]></category>
            <category><![CDATA[andela]]></category>
            <category><![CDATA[alcs]]></category>
            <dc:creator><![CDATA[Kanyinsola Oyindamola Fapohunda]]></dc:creator>
            <pubDate>Sat, 12 Aug 2017 07:20:18 GMT</pubDate>
            <atom:updated>2017-11-14T23:50:18.515Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkWFnRRHsTGJbUDoshc3Xw.png" /><figcaption>Andela Android Learning Community</figcaption></figure><p>Earlier this year I heard about the opportunity to become a better developer through a scholarship sponsored by Andela and supported by Google and Udacity. Quite a number of articles have been written by participants in the ALC community. Please check out their stories on medium with the tags <strong>‘ALC17’</strong>.<br>If you are looking to find your feet in Android development then you should start preparing as ALC 2.0 has been announced and will start soon. The program gave me closure and a better understanding of who I am. I can guarantee that for you too if you give it your ultimate best.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*1-SHSVgFXblcZ4c9dK1uvQ.png" /></figure><p>This would serve as a guide to others looking to enroll in the next phase of this program. What do you need to be doing now? What should you expect?<br>I’ve included resources to help out at each stage in the program. I also add a link to my project in each stage, please feel free to star it.</p><h4><strong>Qualifying (Stage 0)</strong></h4><p>If you just completed the ALC beginners stage and want to start prepping for the next stage, you should start with the following courses on udacity. They are free<br>* Udacity <a href="https://www.udacity.com/course/android-basics-networking--ud843">Android Basics: Networking</a><br>* Udacity <a href="https://www.udacity.com/course/android-basics-data-storage--ud845">Android Basics: Data Storage</a><br>* Udacity <a href="https://www.udacity.com/course/android-basics-multiscreen-apps--ud839">Android Basics: Multiscreen Apps</a></p><p>To qualify for the Intermediate track, there was an assessment phase, the challenge was to build an App that displays a list of Java Developers in Lagos using the GitHub API, the app includes a detail screen that shows information of each developer. You can add a tablet layout to show the list and the details view in a Master/Detail pattern. Consider using a library like Volley or Retrofit to make network calls.</p><p>Learn Git and Github. <a href="https://guides.github.com/activities/hello-world/">Refer this link for tutorials</a> and <a href="https://www.codecademy.com/learn/learn-git">here</a><br>Udacity <a href="https://www.udacity.com/course/github-collaboration--ud456">GitHub &amp; Collaboration</a><br><a href="https://developer.github.com/v3/users/">Learn about Github API<br></a>Learn how to use <a href="https://developer.android.com/training/volley/index.html">Volley</a> for network calls <a href="https://www.androidhive.info/2014/05/android-working-with-volley-library-1">here</a> and <a href="https://code.tutsplus.com/tutorials/an-introduction-to-volley--cms-23800">here</a> <br>Use <a href="https://www.survivingwithandroid.com/2016/09/android-recyclerview-tutorial.html">RecyclerView</a> for displaying items in a list.</p><h4>Popular Movies (Stage 1)</h4><p>Our first project was to build an App that allows users to discover the most popular and top rated movies. The app displays a grid arrangement of movie posters and transitions to a detail screen that shows additional information about a movie when its poster is clicked. We were given certain specifications that must be met to pass this stage. The project was based on the first lessons in the Udacity AAD course.<br>Most of us didn’t have issues here as almost all intermediate Android developers out there have built something to fetches data from an API and display it in a list. So I’d say this task was a cake walk for most of us. <br>This is 2017, no one should be plucking data from JSON, use GSON to convert JSON to Java Objects(POJO). I have added links to helpful resources below.</p><p>Learn about RecyclerView in Android. <a href="https://developer.android.com/reference/android/support/v7/widget/RecyclerView.html">Refer to this link for a tutorial</a>.<br>Learn RecyclerView GridLayout <a href="https://stackoverflow.com/questions/40587168/simple-android-grid-example-using-recyclerview-with-gridlayoutmanager-like-the">here</a><br>Learn how to use <a href="https://github.com/square/retrofit">Retrofit</a> for network call <a href="https://futurestud.io/tutorials/retrofit-getting-started-and-android-client">here</a>, <a href="https://www.androidhive.info/2016/05/android-working-with-retrofit-http-library/">here</a> and finally <a href="http://www.vogella.com/tutorials/Retrofit/article.html">here</a><br>Learn how to use <a href="https://github.com/google/gson">Gson</a> with Retrofit <a href="https://futurestud.io/tutorials/gson-getting-started-with-java-json-serialization-deserialization">here</a> and <a href="https://guides.codepath.com/android/Consuming-APIs-with-Retrofit">here</a>.<br>Consider using <a href="https://futurestud.io/tutorials/glide-getting-started">Glide</a> or <a href="https://futurestud.io/tutorials/picasso-getting-started-simple-loading">Picasso</a> for image loading.</p><p><strong>Popular Movies (Stage 2)<br></strong>Our next task is to add more functionality to the app. We’ll allow users to play trailers and view reviews of a selected movie. Also, we’ll allow users to mark a movie as favorite. Movies marked as a favorite would be available offline. Lastly, the app will be optimized for tablet.</p><p>Learn about Shared Preferences. <a href="https://developer.android.com/reference/android/content/SharedPreferences.html">Refer this link for a tutorial</a>.<br>Learn <a href="https://developer.android.com/training/basics/data-storage/databases.html">SQLite</a> for offline persistence <a href="http://www.techotopia.com/index.php/An_Android_Studio_SQLite_Database_Tutorial">here</a>.<br>Learn about <a href="https://developer.android.com/guide/topics/providers/content-provider-basics.html">Content Providers</a> <a href="https://www.androidtutorialpoint.com/storage/android-content-provider-tutorial//">here</a>.<br><a href="http://github.com/codedentwickler/PopularMovies">Link to my popular movies project</a><br><a href="https://developer.android.com/training/multiscreen/screensizes.html">Supporting Different Screen Sizes | Android Developers</a> and <a href="https://stuff.mit.edu/afs/sipb/project/android/docs/training/multiscreen/screensizes.html"><em>here</em></a></p><p><strong>Baking App(Stage 3)<br></strong>Our third and final project is to build an App to view baking recipe videos. <br>Baking App was added to the curriculum during the ALC program and Udacity provided data to be used in the App. Each baking recipe includes a list of ingredients, the steps involved and a baker explains each step in a video. Finally, we add a home screen widget and verify the user interface by testing the UI with espresso.</p><p>Learn about <a href="https://developer.android.com/guide/topics/media/exoplayer.html">ExoPlayer</a> <a href="https://google.github.io/ExoPlayer/guide.html">here</a><br><a href="https://codelabs.developers.google.com/codelabs/exoplayer-intro">MediaStreaming with ExoPlayer Codelab<br></a>Learn about <a href="https://developer.android.com/guide/topics/appwidgets/index.html">widget</a> <a href="http://www.greenbot.com/article/3038673/android/how-to-add-widgets-to-your-android-home-screen.html">here</a> and <a href="http://www.talkandroid.com/guides/beginner/adding-widgets-to-android-home-screen">here</a><br>Learn about <a href="https://developer.android.com/training/testing/ui-testing/espresso-testing.html">Espresso</a> testing <a href="https://developer.android.com/training/testing/espresso/index.html">here</a> and <a href="http://www.vogella.com/tutorials/AndroidTestingEspresso/article.html">here</a><br><a href="https://github.com/codedentwickler/BakingApp">Link to my baking app projec</a>t</p><p><strong>Taking the Google Associate Android Developer </strong><a href="https://developers.google.com/training/certification/associate-android-developer/"><strong>Exam</strong></a><strong><br></strong>The exam is actually very easy. Any intermediate android developer should be able to complete it in 12 hrs though you have up to 48 hours to make your submission. If you have completed the previous projects then the exam should be easy to complete.<br>After you have submitted the exam and has been graded. You’ll schedule an exit interview, you’ll be asked trivial questions to verify if completed the exam yourself.</p><p><strong>What do you need to know to take the exam?<br>*</strong> Basic understanding of Android app components and their lifecycles.<br>* Android UI and UX, including basic understanding of Custom views<br>* Persistent Data storage on Android using SQLite, File, and Preferences.<br>* Understanding Widgets and Notifications on Android.<br>* Testing android UI with Espresso.</p><h4><strong>Experience as a Facilitator in my ALC community</strong></h4><p>I volunteered at the beginning of the program to reach out and help my colleagues just starting out with android development here in Osun. <br>At first, I asked myself what am i doing? What do I have to contribute or share? I’m <strong>not</strong> an expert?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*CwyV-SPhrOqErOttuD8TaQ.gif" /></figure><p>But remembering how I struggled when I started learning, I figure out that saying I know nothing now is lazy and not true, also I think if I can learn how to code then I can help someone learn too if I want to.<br>I think until you volunteer to help someone learn, you don’t know what you know that other people don’t know and what is of value to others. Also, no one knows everything, there is always something you can share or learn from someone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*USxGsDf8W3b5hKEhE10HFg.jpeg" /></figure><p>So I got excited about it, I saw this as an opportunity to meet people and share the little experience I have so far developing for android.<br>During Meetup 2.0, I had my first presentation and it was cool, it wasn’t bad as I thought I would be. It was quite impressive that I could have an impact on someone’s learning. It was amazing helping these people that were in my shoes just over a year ago.<br>I found out I’m in the best position to help them as I consider myself not too far from them on the scale, and I could actually relate to any difficulty they might be facing.</p><p><strong>Career Development<br></strong>The program has been a huge source of knowledge, improving how I relate to other people, self-confidence, public speaking and most of all, learning from a huge community of people with the same niche has been invaluable(<em>this includes having a lot of other people’s code to read and learn from</em>). <br>Helping others gave me a deeper understanding of the topic. I have gone to speak at other events and will do that more in the nearest future.</p><p><em>Now I’m a Google Certified Associate Android Developer.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*lKKeupjGvgdd_oDWxodJXw.png" /></figure><p><strong>Additional Resources<br></strong>* Learn about screen navigations, task and back stack <a href="https://blog.mindorks.com/android-task-and-back-stack-review-5017f2c18196">here</a><br>* Learn about Fragment in Android. <a href="https://developer.android.com/guide/components/fragments.html">Refer this link for the tutorial</a>.<br>* Learn about basic threading. <a href="https://developer.android.com/reference/java/lang/Thread.html">Refer this link for the tutorial</a>.<br>* Learn about Orientation Changes on Android. <a href="https://developer.android.com/guide/topics/resources/runtime-changes.html">Refer this link for a tutorial</a>.<br>* Learn about the Android Activity LifeCycle. <a href="https://developer.android.com/guide/components/activities/activity-lifecycle.html">Refer this link for a tutorial</a>.<br>* Learn about <a href="https://github.com/googlesamples/android-architecture/tree/todo-mvp/">MVP architecture</a> for android app <a href="https://blog.mindorks.com/essential-guide-for-designing-your-android-app-architecture-mvp-part-1-74efaf1cda40">here</a> <a href="https://code.tutsplus.com/tutorials/an-introduction-to-model-view-presenter-on-android--cms-26162">here</a> <a href="https://android.jlelse.eu/android-mvp-for-beginners-25889c500443">here</a><br>* Learn about <a href="https://www.udacity.com/course/gradle-for-android-and-java--ud867">Gradle for Android and Java</a><br>* Learn about 3rd party libraries. <a href="https://blog.mindorks.com/awesome-android-open-source-libraries-56a008c776c0">Refer this link for the tutorial</a>.<br><a href="https://www.androidhive.info/2016/01/android-working-with-recycler-view/">https://www.androidhive.info/2016/01/android-working-with-recycler-view/</a><br><a href="https://inducesmile.com/android/android-sqlite-database-example-tutorial/">https://inducesmile.com/android/android-sqlite-database-example-tutorial/</a></p><p>Check out <a href="https://play.google.com/store/apps/details?id=com.copula.android&amp;hl=en">Copula</a> on Google Playstore. Copula lets you play and download your nearby friend’s songs and videos directly from your own device absolutely without internet data.<br>Shout out to my guys in team Treehouse. It was great learning with you guys.<br>Also, you should check out <a href="https://medium.com/u/e460595752b3">Moyinoluwa Adeyemi</a> interesting experience with the Nanodegree <a href="https://medium.com/udacity/nanodegree-and-me-the-journey-ff41947bb2ca">here</a>.<br>Please feel free to comment if you have other resources you want to share that I didn’t mention above.</p><p>Thanks for reading this article. Please click ❤ below to recommend this article if you found it interesting and helpful. <br>And YES I want to be your friend too on <a href="https://twitter.com/kanyinsola_f">Twitter</a> and <a href="https://github.com/CODEDENTWICKLER">Github</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8b3479a8e9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Leverage Java 8 features alongside RxJava in your next Android Project and stay safe while doing it…]]></title>
            <link>https://medium.com/mindorks/leverage-java-8-features-alongside-rxjava-in-your-next-android-project-and-stay-safe-while-doing-it-7c7b344f9ae1?source=rss-5e46127d773a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c7b344f9ae1</guid>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Kanyinsola Oyindamola Fapohunda]]></dc:creator>
            <pubDate>Tue, 09 May 2017 08:30:05 GMT</pubDate>
            <atom:updated>2017-05-09T09:45:16.532Z</atom:updated>
            <content:encoded><![CDATA[<h3>Leverage Java 8 features alongside RxJava in your next Android Project and stay safe while doing it with the new Android Studio 2.4</h3><p>Who else is excited about the new features in Android studio 2.4, this article was supposed to be about my frustrating experience with the Jack Toolchain and RetroLambda. Then <strong>…</strong></p><p>Google recently announced built-in support for Java 8 features in new Android Studio 2.4 preview, and recommend migrating from Retrolambda and Jack. <br>I installed this preview release alongside the existing stable one. You can check out how to do this <a href="https://developer.android.com/studio/preview/install-preview.html">here</a>.<br>Migrating is easy, it is just removing the retrolambda dependencies or removing the jackOption{ … } block in build.gradle</p><p>My build time has incredibly decreased, I’ve achieved build time of a little more than a min with lots of more Java 8 features.</p><p>I’d like to share my frustrating experience with using the Jack Compiler and some cool features of Java 8 with RxJava that lured me into this danger.</p><p>So I decided to use Java 8 features in a small Android Project I’m working on, being that I haven’t used any Java 8 feature on android and knowing fully well that Android doesn’t support this features before the release of Nougat. You can check out cool features of Java 8 <a href="https://medium.com/@muratcanbur/java-8-language-features-on-android-ee8ea414f9f0">here</a>.</p><p>So I made some research and found out I could enable this feature with a few lines of code in my build.gradle.</p><p>With the Jack Compiler and RetroLambda, I’m scared of building apks because of the thought that something might be broken or that gradle build time might take several minutes to complete</p><pre>jackOptions {<br>    enabled true<br>}<br><br>compileOptions {<br>    sourceCompatibility JavaVersion.<em>VERSION_1_8<br>    </em>targetCompatibility JavaVersion.<em>VERSION_1_8<br>}</em></pre><p>Cool right.</p><p>That big boy feeling came alive when I first replaced all the usual boilerplate code of setting onClick listeners with <strong>lambdas</strong>, I mean this</p><pre>sayHelloButton.setOnClickListener(new View.OnClickListener() {<br>    @Override<br>    public void onClick(View view) {<br>        shoutHello();<br>    }<br>});</pre><p>with</p><pre>sayHelloButton.setOnClickListener(view -&gt; shoutHello());</pre><p>Also, method referencing made this method calls even clearer, you can replace the above snippet with this</p><pre>sayHelloButton.setOnClickListener(<strong>this::</strong>shoutHello);</pre><pre>Observable.just(&quot;Hello, world!&quot;)<br>    .subscribe(s -&gt; System.out.println(s));</pre><p>instead of this</p><pre>Observable.just(&quot;Hello, world!&quot;)<br>    .subscribe(new Action1&lt;String&gt;() {<br>        @Override<br>        public void call(String s) {<br>              System.out.println(s);<br>        }<br>    });</pre><p>RxJava comes with a huge bunch of operators, allowing us to chain as many calls as we want together, fine-tuning the data into a perfect form to be consumed by the end Subscriber. Consider the example below</p><pre>query(&quot;key&quot;)<br>    .flatMap(urls -&gt; Observable.from(urls))<br>    .flatMap(url -&gt; getTitle(url))<br>    .filter(title -&gt; title != null)<br>    .take(5)<br>    .doOnNext(title -&gt; saveTitle(title))<br>    .subscribe(title -&gt; System.out.println(title));</pre><p>Suppose query is defined as follows,</p><p>Observable&lt;List&lt;String&gt;&gt; query(String text);</p><p>Let’s go over this in detail</p><p>query() returns an observable that emits a list of urls.<br>flatMap() transforms the urls emitted by the Observable from query() into Observables of each url , and then flatten the emissions from the Observables into a single Observable. so we get a single url at a time.<br>flatMap() transform this observable into another observable that emits the title retrieved from each url. Also we get that one at a time.<br>filter() emits the title it received, but only if title is not null.<br>take() sets the maximum number of titles that we want. Here it’s 5.<br>in doOnNext(), we save the title in a repository. <br>And lastly in subscribe() we add an observer that prints each title to console.</p><p>We are making multiple calls and adding more flavors and manipulating the data easily. <br>Also, we don’t have to be worried about the danger of <a href="http://callbackhell.com/">Callback hell</a>, as we are certain that the current operation ends before the next one is invoked. This takes care of common issues faced by developers while making lots of asynchronous calls in their code.</p><p>If the above example is not very clear, don’t be scared, it took me awhile before I understood this too and I still get confused about RxJava sometimes too. But I strongly recommend you check Dan Lew’s series on RxJava <a href="http://blog.danlew.net/2014/09/15/grokking-rxjava-part-1/">here</a>.<br>Also, check out the last section below for further readings.</p><p>I enjoyed cool stuff about RxJava</p><p><strong>Then the dark-side sets in as </strong>I<strong> </strong>decided to build my project and gradle’s build time went from 30 secs — 1 min to 7-16 mins. The Jack compiler is much slower than the legacy Javac + dx. Build time increased as I added more Java 8 feature so I looked into it and found out other issues:</p><p><a href="https://developer.android.com/tools/building/building-studio.html#instant-run">Instant Run</a> is not supported.</p><p>Annotation processing is not supported, so tools like DexGuard, Jacoco is not supported. This might affect some libraries that use Annotation Processing.</p><blockquote>All these issues were solved by simply installing the Android Studio 2.4 Preview. You can check out how to do this <a href="https://developer.android.com/studio/preview/install-preview.html">here</a>.</blockquote><blockquote><strong>NOTE: </strong>It is not recommended to replace a stable version of AS with a preview version as it is still under test and might have a new bug. So I’ll recommend you keep both versions.</blockquote><p>If you are including Java 8 feature in your new or existing project, I’ll recommend that you consider this option to save yourself the trouble caused by Jack and RetroLambda.</p><p><strong>Further Reading</strong></p><p><a href="https://www.google.com.ng/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=5&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwjkirnit9bTAhVEAsAKHRhAACcQFgg_MAQ&amp;url=https%3A%2F%2Fmedium.com%2F%40muratcanbur%2Fjava-8-language-features-on-android-ee8ea414f9f0&amp;usg=AFQjCNHFNaa5BFFqVSXXEpw_I_AoVkBqwA&amp;sig2=su5Pjoaxb8t9_rDHuhJiAg">Java 8 Language Features on Android</a></p><p><a href="https://android-developers.googleblog.com/2017/03/future-of-java-8-language-feature.html">Future of Java 8 Language Feature Support on Android | Android …</a></p><p><a href="https://www.google.com.ng/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=6&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwih86f2udbTAhWlC8AKHex0AOwQFgg_MAU&amp;url=http%3A%2F%2Fwww.androidpolice.com%2F2014%2F11%2F30%2Fjack-and-jill-are-googles-new-compilers-for-android-app-developers%2F&amp;usg=AFQjCNHH_v6e5zaWOdMFxmZuxi0BPWpEfA&amp;sig2=m0ixj-R6F-TfQpf5QvFh5w">Jack And Jill Are Google’s New Compilers For Android App Developers</a></p><p><a href="https://github.com/ReactiveX/RxJava">More information on RxJava</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c7b344f9ae1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mindorks/leverage-java-8-features-alongside-rxjava-in-your-next-android-project-and-stay-safe-while-doing-it-7c7b344f9ae1">Leverage Java 8 features alongside RxJava in your next Android Project and stay safe while doing it…</a> was originally published in <a href="https://medium.com/mindorks">MindOrks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>