How To Handle Click Events In Android RecyclerViews

According to the documentation, a RecyclerView is a flexible view for providing a limited window into a large data set. If you have done any android development before, you definitely know the popular ListView class used to display lists of things. After its release by Google however, most of us have moved on and now use RecyclerViews. In this post, I want to show you how to handle click events like regular touch event and also long click in recyclerviews because you cannot just set OnClickListeners like you would for a ListView.


How To Use EventBus – A Beautiful Android Library

EventBus is an Android optimized event bus that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality. You see, if you have developed android applications before, you will agree with me when I say that communication between different parts of the project code can be a pain. Using interfaces might work but not all the times. The idea though would be to stick to the best design patterns in Java which include decoupling your code. Eliminate dependencies. Let us get started!


First Things First

To use EventBus, you should add the following to your build.gradle file (app-level file)

The Comeback – Is It Too Late To Say Am Sorry?

Let me start this short post by saying I am sorry for taking what almost felt like an eternity to write new posts. Will you accept my apology? Thank you!! I mean, I have been gone so long that Donald Trump has spewed more insults at people than all my previous blog posts combined. Let me not start talking about all the things that have happened around the world.


You wanna know something? I think it is laziness or whatever you call that situation where you give yourself excuses not to do certain things. Yeah, the struggle is real bro!

How To Update Android Apk Outside The Playstore

How to update android apk outside the playstore

Let’s learn how to update android apk outside the playstore in this short post! Perhaps you have a scenario where you don’t want to publish your app in the playstore. The reason behind your decision could be to have more control over who installs the app or even the size of the file itself among other things.

Food Saver App – Let’s Fight Hunger Now (US Release)

Fight hunger now

Food Saver app enables anyone to fight hunger now – yes, immediately, by providing you with 15 closest food collection centers based on your GPS coordinates. I will describe the key features later in a video demo below but for now, let me tell you a bit about why this is one of the most important projects I have solely worked on. Here is how the home screen looks like – watch video below this post for a demo:

Android Architecture and Libraries Every Android Developer Should Know

The Android Architecture encourages the concept of component reuse, allowing you to publish and share activities, services, and data with other applications with access managed by the security restrictions you put in place. That being said, today I would like to share information about the android architecture and then some libraries that are provided to you for use while building your next killer app. So are you ready for this? If you said yes, then read on!

android architecture

Don’t be intimidated by the above image – you will not have to understand all that stuff today or even tomorrow.

Top 10 Free Online Courses

The idea of offering free online courses was difficult several years ago mainly due to a lucrative business platform that has come to be known as college education. Although there are more than enough resources today, so many people cannot afford a college education, thanks to ever increasing tuition fees and ignorant politics.

free online courses

But not all is lost. There is some light at the end of the tunnel – the birth and growth of Free Online Courses through big name universities across the globe. Perhaps the only thing remaining is for companies to finally hire their potential employees not by looking at a paper but skills they have earned. Now let us take a quick look at my favorite list of free online courses you could start with today.