Search in sources :

Example 1 with PrefFragment

use of com.secupwn.aimsicd.ui.fragments.PrefFragment in project Android-IMSI-Catcher-Detector by CellularPrivacy.

the class PrefActivity method loadFragment.

private void loadFragment() {
    PrefFragment settingsFragment = new PrefFragment();
    FragmentManager fragmentManager = getFragmentManager();
    FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
    fragmentTransaction.replace(android.R.id.content, settingsFragment);
    fragmentTransaction.commit();
}
Also used : FragmentManager(android.app.FragmentManager) FragmentTransaction(android.app.FragmentTransaction) PrefFragment(com.secupwn.aimsicd.ui.fragments.PrefFragment)

Aggregations

FragmentManager (android.app.FragmentManager)1 FragmentTransaction (android.app.FragmentTransaction)1 PrefFragment (com.secupwn.aimsicd.ui.fragments.PrefFragment)1