List of usage examples for android.app Activity getLastNonConfigurationInstance
@Nullable
public Object getLastNonConfigurationInstance()
From source file:com.twotoasters.android.hoot.activity.HootActivityHelper.java
private Object getLastNonConfigurationInstanceFromActivity(Activity activity) { if (activity instanceof FragmentActivity) { return ((FragmentActivity) activity).getLastCustomNonConfigurationInstance(); } else {//from w w w.j a v a2 s .c om return activity.getLastNonConfigurationInstance(); } }