@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTitle(R.string.quests); // Initialization viewPager = (ViewPager) findViewById(R.id.pager); mAdapter = new QuestExpandableListPagerAdapter(getSupportFragmentManager()); viewPager.setAdapter(mAdapter); mSlidingTabLayout.setViewPager(viewPager); // Tag as top level activity super.setAsTopLevel(); }
@Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); // MenuInflater inflater = getMenuInflater(); // inflater.inflate(R.menu.monsterlist, menu); return true; }