When we are inside an Activity, and we need the application context we can use getApplicationContext() method. But what if we are not inside an Activity and we need the…
Hi, recently I ran into a problem with footer view on an ExpandableListView. I wanted to add a footer view only when I would have needed it. I tried many…
As Android developer you will surely need someday to add views dynamically, instead of creating a ListView. I will show you in this tutorial how to do this 🙂 1. Create…
Let’s start with an example: We have a table called StartDate with some dates stored into it as long (milliseconds) like in the image below: To understand better which date…
Because the Android default title bar doesn’t look too great, I thought to make a tutorial with a custom title bar that looks like the one from IOS. I do…
In this tutorial I will show you how to use Broadcast Receiver and how to use Parcelable too. To do this, we will create an ExpandableList which will have parents…