Using the excellent tutorials suggested by @aindurti, I was able to get this working using BaseActivity, which extends SherlockActivity, and then my Activity1, which extends BaseActivity.
However, I experience strange behavior. When I select Activity # 3 from the counter, it immediately returns to Activity # 1, with onNavigationItemSelected called 3 times. Thoughts on the code? Should I move onNavigationItemSelected to every action? I thought this would be a concise and consolidated way.
In BaseActivity.java:
@Override public boolean onNavigationItemSelected(int itemPosition, long itemId) { //Tell user the FROM and TO navigationIndex Toast.makeText(getApplicationContext(), "Selected: " + itemPosition + " from" + currentNavigationIndex, Toast.LENGTH_SHORT).show(); Intent myIntent; if(itemPosition != currentNavigationIndex){ if(itemPosition == 0){ //Activity
source share