use of it.neokree.example.mockedFragments.FragmentIndex in project MaterialNavigationDrawer by neokree.
the class ImageDrawerHeader method init.
@Override
public void init(Bundle savedInstanceState) {
// set the header image
this.setDrawerHeaderImage(R.drawable.mat2);
// create sections
this.addSection(newSection("Section 1", new FragmentIndex()));
this.addSection(newSection("Section 2", new FragmentIndex()));
this.addSection(newSection("Section 3", R.drawable.ic_mic_white_24dp, new FragmentButton()).setSectionColor(Color.parseColor("#9c27b0")));
this.addSection(newSection("Section", R.drawable.ic_hotel_grey600_24dp, new FragmentButton()).setSectionColor(Color.parseColor("#03a9f4")));
// create bottom section
this.addBottomSection(newSection("Bottom Section", R.drawable.ic_settings_black_24dp, new Intent(this, Settings.class)));
}
Aggregations