Want To Step Up Your Android Learning Game? You Need To Read This First
Tags: android, edd, example, bestpractices
Published: 2017-07-30 06:28:30

---
title: "Want To Step Up Your Android Learning Game? You Need To Read This First"
published: true
description: "DISCLAIMER: If you consider yourself a beginner, intermediate, expert or a ninja in the Android realm, this secret sauce still applies to you"
tags: android, edd, example , bestpractices
---

> DISCLAIMER: If you consider yourself a beginner, intermediate, expert or a ninja in the Android realm, this secret sauce still applies to you.

##### TL;DR: Build Something.
_No really! I am not kidding here. Hear me out on this._

![header](https://thepracticaldev.s3.amazonaws.com/i/ktvo1fkx6xjy9ee8ulps.gif)

The secret to becoming better at Android development, with all the new shiny stuff being released every year and making you go through the fear of missing out and what not is just to build out something that’s functional, even before reading a blog post or documentation.

It is really very easy to say you read up the documentation and you have gone through a blog post that explains the intricate concepts/a new library introduced by either Google or some 3rd party developer/company. I am not saying it’s not required or a waste of time because it’s very important to understand the concepts and then proceed with the using the new and shiny library or a new concept you just came to know about. You SHOULD always understand the underlying concepts to keep yourself from misusing the API/framework/architecture approach.

But here is where I would like to pause and mention a different approach which has worked for me always and with people I have introduced this concept to. The concept isn’t anything new. It’s a simple extra step of approaching a new library/architecture in Android realm, which is to…

##### ..build a simple, isolated and bare bone example android app to see a working example of what your are trying toÂ learn.
That’s all. I call this **_Example Driven Development(EDD)_** approachðŸ¤“.

The reason this works out very well is that these simplified examples Android apps are devoid of any complexity you would have in your own apps. If you are like me who likes to see things working before jumping into implementing it in the complex app I am working on, this approach will be very interesting to you (unless of-course you are already aware of it and use it, in that case, jump to the bottom of this story ðŸ˜… )

These simplified examples android apps also provide you opportunities to experiment with concept/library you are trying to implement as well as spot possible bugs or issues far before you would have done otherwise if you would have implemented it directly inside your complex Android app.

Some people might argue that it is a time taking process and eventually a waste of time and energy because at the end of the day the example app is thrown out of the window and the concept/library has to be implemented into the android app you are working on.

I strongly disagree to that point, with my own personal reasons to justify that (based on my experience). This might not be true for everyone, but I have found it to work for the majority of people I have suggested this approach. I believe such simplified example android apps are like

+ **_Unit Tests_**, simple and focused to understand the functionality and working of the concept/library.
+ **_Comments in code_**, they are there for you to comeback to, understand how the concept/library works and plays along with on the platform at the most basic level.

_It wouldn’t make sense for me to advocate an approach if I can’t show how I use it for myself, correct?_

So I happen to be following this approach for sometime now and it so happens some people in the community reached out to me to share the same with them. And thus [Android Example](https://github.com/nisrulz/android-examples) came to exist as it is today…

[![android_examples](https://github.com/nisrulz/android-examples/raw/develop/img/github_banner.png)](https://github.com/nisrulz/android-examples)

…I created this repo last year where I started putting in all the example apps I had built while working on a feature/library/concept as I was doing android development at work or while just learning something new for myself. Turns out it has grown quite big now with **100+ android examples** (including [sample apps](https://github.com/nisrulz/android-examples#example-apps-from-my-android-libraries) from [android libraries I have built myself](https://github.com/nisrulz/nisrulz.github.io#open-source-contributions))

Do check it out, to get a taste of what I have been blabbering about up until now. **_Just jump in and build up one of the apps demonstrating concept/library implementation that you always wanted to understand and get your hands dirty hacking on the code!_**

Better still, contribute back to the repo with more (missing) simplified android examples or improving the ones that exist in the Github repo. Contributions of any size are always welcome.

If you still think that this approach is flawed, I am more than happy to hear about anything else that has worked for you.

If you have suggestions or maybe would like me to add something to the content here, please let me know.

> P.S: I did a write up sometime back about how I manage dependencies for such a huge number of example apps. If you are interested in that you can find that [here](http://crushingcode.nisrulz.com/update-dependencies-code-repeat/)
>
> This post was originally shared on my blog [Crushing C.O.D.E](http://crushingcode.nisrulz.com/), [here](http://crushingcode.nisrulz.com/want-to-step-up-your-android-learning-game-you-need-to-read-this-first/) and is also published on [medium.](https://medium.com/@nisrulz/want-to-step-up-your-android-learning-game-you-need-to-read-this-first-e0cb9a7816a3)
>
> Checkout my [Github](https://github.com/nisrulz) or simply follow me on [Twitter](https://twitter.com/nisrulz) ðŸ˜

Until next post keep crushing code ðŸ¤“