Code example for Activity

Methods: getActionBargetFragmentManager

        private final Context mContext;
        private final ActionBar mActionBar;
        private final ViewPager mViewPager;
        private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>();
        static final class TabInfo { 
            private final Class<?> clss;
            private final Bundle args;
            TabInfo(Class<?> _class, Bundle _args) {
                clss = _class;
                args = _args;
        public TabsAdapter(Activity activity, ViewPager pager) {
            mContext = activity;
            mActionBar = activity.getActionBar();
            mViewPager = pager;
Connect your IDE to all the code out there  Get Codota for Java