change To Last Fragment - Android User Interface

Android examples for User Interface:Fragment

Description

change To Last Fragment

Demo Code


//package com.java2s;
import android.app.Activity;

public class Main {
    public static void changeToLastFragment(Activity activity) {
        activity.getFragmentManager().popBackStack();
    }/*from w w  w  . j  a  v  a 2s  .  co m*/
}

Related Tutorials