Set up Slidemenu – example not working

For the error “The method getSupportActionBar() is undefined for the type BaseActivity” Inside the SlidingMenu library, edit the class SlidingFragmentActivity to extend SherlockFragmentActivity (like below). Then clean and rebuild, this method should now be found. public class SlidingFragmentActivity extends SherlockFragmentActivity implements SlidingActivityBase { Source

Installing ActionbarSherlock with Android Studio?

I also had a problem getting ActionBarSherlock running. I had an existing project, but it sounds like you simply want ABS From scratch. Here are step by step instructions of what to do : 1) Download ABS here: http://actionbarsherlock.com/ 2) Extract ABS, you should have a directory in there called “actionbarsherlock”. Copy that to your … Read more

causing a java.IllegalStateException error, No Activity, only when navigating to Fragment for the SECOND time

I followed the link in jeremyvillalobos answer (which was very helpful) that led me to this workaround. public class CustomFragment extends Fragment { private static final Field sChildFragmentManagerField; static { Field f = null; try { f = Fragment.class.getDeclaredField(“mChildFragmentManager”); f.setAccessible(true); } catch (NoSuchFieldException e) { Log.e(LOGTAG, “Error getting mChildFragmentManager field”, e); } sChildFragmentManagerField = f; … Read more