This simple example shows how to pass an ArrayList from one activity to another in Android. This is the first activity on which we are sending the arrayList. MainActivity Now this is the Second activity in which we are receiving the passed arrayList. SecondActivity Please check the Logcat for the Output. Source code You can download the Android… Read More »
I have already shown some examples with ActionBar. This is the example showing how to start with ActionBar in android. 1. Android removes the need of Menu button from devices with ActionBar. 2. How to start with ActionBar in Android? 3. Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2? Now today I… Read More »
Download complete tutorial PDF from here. Please check the LogCat for Output.
Hi all.. In today’s post I will show you how to add actionbar tabs dynamically, remove one by one , hide and unhide them, removing all tabs at once etc. This simple java code does that. First create a project and in the MainActivity, paste this. You may be getting many errors, we will be resolving all that… Read More »