I am looking for best practice of using tab navigation with sherlock actionbar.
What is the proper way of changing the fragments, and adding fragments to the backstack and clearing the back stack when another tab is selected.
Are there any good examples or open source projects showing how to do it right?
I wouldn’t use ABS directly to do that. You will run into trouble once your tabs require fragment switching etc. I think the right approach to do this is to use ViewPagerIndicator, which is compatible with ABS. As bonus you also get the swipe right-left between tabs.
You need the compat package (like for ABS), example usage you can find in the
samples folder.