public static ProgressBarFragment newInstance(@AttrRes int style) {
        ProgressBarFragment frag = new ProgressBarFragment();
        Bundle args = Fragments.arguments(frag);
        args.putInt(STYLE, style);
        return frag;
    }
public static ProgressBarFragment newInstance(@AttrRes int style) {
        ProgressBarFragment frag = new ProgressBarFragment();
        Bundle args = Fragments.arguments(frag);
        args.putInt(STYLE, style);
        return frag;
    }
public static ProgressBarFragment newInstance ( @ AttrRes int style ) { ProgressBarFragment frag = new ProgressBarFragment ( ) ; Bundle args = Fragments . arguments ( frag ) ; args . putInt ( STYLE , style ) ; return frag ; }
Create a ProgressBar with the style of the theme attribute.
Create a ProgressBar with the style of the theme attribute .