In my application i have tabs but now i need to add Sherlock Actionbar i know that I need use extends SherlockActivity but early I had FragmentActivity how to fix it ?
public class MainActivity extends SherlockActivity {
Now I have error here beacuse i don't have FragmentActivity.
mSectionsPagerAdapter = new SectionsPagerAdapter(getSupportFragmentManager());
Error:
The method getSupportFragmentManager() is undefined for the type MainActivity
There is SherlockFragmentActivity, I believe, you can extend from that
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With