1

Handle SQLiteOpenHelper when orientation changes

view story
linux-howto

http://stackoverflow.com – The apps I try to create is a ViewPager then consist of Fragments. Each Fragment has different data, because the got it from Database. I send the Database class from Fragment Activity to Fragment inside the FragmentStatePagerAdapter. Here is the code : private class ScreenSlidePagerAdapter extends FragmentStatePagerAdapter { public ScreenSlidePagerAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getItem(int position) { return PageFragment.create(position, student, getApplicationContext(), mDbStudent); } @Override public in (HowTos)