sprockets/src/main/java/net/sf/sprockets/app/ui/SprocketsPreferenceFragment.java
public static SprocketsPreferenceFragment newInstance(@XmlRes int prefs, boolean logChanges) {
        SprocketsPreferenceFragment frag = new SprocketsPreferenceFragment();
        Bundle args = Fragments.arguments(frag);
        args.putInt(PREFS, prefs);
        args.putBoolean(LOG_CHANGES, logChanges);
        return frag;
    }
public static SprocketsPreferenceFragment newInstance(@XmlRes int prefs, boolean logChanges) {
        SprocketsPreferenceFragment frag = new SprocketsPreferenceFragment();
        Bundle args = Fragments.arguments(frag);
        args.putInt(PREFS, prefs);
        args.putBoolean(LOG_CHANGES, logChanges);
        return frag;
    }
Display the preferences and log changes in analytics.

@since 2.6.0