close Fragment - Android User Interface

Android examples for User Interface:Fragment

Description

close Fragment

Demo Code


//package com.java2s;

import android.support.v4.app.FragmentManager;

public class Main {
    public static void closeFragment(FragmentManager fm) {
        fm.popBackStack();/*from  w  w w. j  ava 2s  .c  om*/
    }
}

Related Tutorials