Skip to content

Instantly share code, notes, and snippets.

oing9179 /
Last active Jul 9, 2017
Utility class help you to drop Fragment state before it's being restored.
package your.packagename;
import android.os.Bundle;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
* Prevent Fragment being restored in {@link Activity#onCreate(Bundle)}.
You can’t perform that action at this time.