I have different Fragment set for each category and want to show them when selected from drawer
private static final String ARG_POSITION = "position";
private int position;
private LinearLayout layout;
private TextView icon;
public static WizardUniversalFragment newInstance(int position) {
WizardUniversalFragment f = new WizardUniversalFragment();
Bundle b = new Bundle();
b.putInt(ARG_POSITION, position);
f.setArguments(b);
return f;
}
How can I solve this?