// Path: AdvancedSlidingMenu/demoslidemenu/src/main/java/com/hypebeast/demoslidemenu/content/expandablemenu/MenuFragment.java
// public class MenuFragment extends Fragment {
// 
//     private UltimateRecyclerView ultimateRecyclerView;
//     private expCustomAdapter simpleRecyclerViewAdapter = null;
//     private LinearLayoutManager linearLayoutManager;
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         return inflater.inflate(R.layout.left_slid_menu, container, false);
//     }
// 
// 
//     private static String[] sampledatagroup1 = {
//             "peter", "http://google",
//             "billy", "http://google",
//             "lisa", "http://google",
//             "visa", "http://google"
//     };
//     private static String[] sampledatagroup2 = {
//             "mother", "http://google",
//             "father", "http://google",
//             "son", "http://google",
//             "holy spirit", "http://google",
//             "god the son", "http://google"
//     };
//     private static String[] sampledatagroup3 = {
//             "SONY", "http://google",
//             "LG", "http://google",
//             "SAMSUNG", "http://google",
//             "XIAOMI", "http://google",
//             "HTC", "http://google"
//     };
// 
//     @Override
//     public void onViewCreated(View view, Bundle savedInstanceState) {
//         super.onViewCreated(view, savedInstanceState);
//         ultimateRecyclerView = (UltimateRecyclerView) view.findViewById(R.id.ultimate_recycler_view_menu);
//         ultimateRecyclerView.setHasFixedSize(false);
//         /**
//          * this is the adapter for the expanx
//          */
//         simpleRecyclerViewAdapter = new expCustomAdapter(getActivity());
//         simpleRecyclerViewAdapter.addAll(expCustomAdapter.getPreCodeMenu(
//                         sampledatagroup1,
//                         sampledatagroup2,
//                         sampledatagroup3),
//                 0);
// 
//         linearLayoutManager = new LinearLayoutManager(getActivity());
//         ultimateRecyclerView.setLayoutManager(linearLayoutManager);
//         ultimateRecyclerView.setAdapter(simpleRecyclerViewAdapter);
//         ultimateRecyclerView.setRecylerViewBackgroundColor(Color.parseColor("#ffffff"));
//         addExpandableFeatures();
// 
//     }
// 
//     private void addExpandableFeatures() {
//         ultimateRecyclerView.getItemAnimator().setAddDuration(100);
//         ultimateRecyclerView.getItemAnimator().setRemoveDuration(100);
//         ultimateRecyclerView.getItemAnimator().setMoveDuration(200);
//         ultimateRecyclerView.getItemAnimator().setChangeDuration(100);
//     }
// 
// }
// 
// Path: AdvancedSlidingMenu/demoslidemenu/src/main/java/com/hypebeast/demoslidemenu/helpr/structurebind.java
// public enum structurebind {
//     main(R.id.main, MainActivityDemo.class),
//     blocktest(R.id.blocktset, testblock.class),
//     hb(R.id.hbstyle, demohb.class),
//     sys(R.id.system, MainActivityDemo.class),
//     profile(R.id.profiletype, MainActivityDemo.class);
//     private final Class<? extends AppCompatActivity> internalClazz;
//     private final int menu_id;
// 
//     structurebind(final @IdRes int menuid, final Class<? extends AppCompatActivity> triggerclassname) {
//         this.internalClazz = triggerclassname;
//         this.menu_id = menuid;
//     }
// 
//     public int getId() {
//         return menu_id;
//     }
// 
//     public Class<? extends AppCompatActivity> getClassName() {
//         return this.internalClazz;
//     }
// 
//     public static void startfromSelectionMenu(final @IdRes int menuID, final Context mcontext, @Nullable final Bundle mbundle) {
//         final int g = structurebind.values().length;
//         for (int i = 0; i < g; i++) {
//             structurebind bind = structurebind.values()[i];
//             if (bind.getId() == menuID) {
//                 if (mbundle != null) {
//                     bind.newapp(mcontext, mbundle);
//                 } else {
//                     bind.newapp(mcontext);
//                 }
//                 return;
//             }
//         }
//     }
// 
//     public void newapp(final Context ctx) {
//         final Intent in = new Intent(ctx, internalClazz);
//         ctx.startActivity(in);
//     }
// 
// 
//     public void newapp(final Context ctx, final Bundle bun) {
//         final Intent in = new Intent(ctx, internalClazz);
//         in.putExtras(bun);
//         ctx.startActivity(in);
//     }
// 
// }
// 
// Path: AdvancedSlidingMenu/demoslidemenu/src/main/java/com/hypebeast/demoslidemenu/content/mainpageDemo.java
// public class mainpageDemo extends Fragment {
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//         return inflater.inflate(R.layout.activity_main, container, false);
//     }
// 
//     @Override
//     public void onViewCreated(View view, Bundle savedInstanceState) {
//         super.onViewCreated(view, savedInstanceState);
//         Button bIntent = (Button) view.findViewById(R.id.openNewIntent);
//         bIntent.setOnClickListener(new View.OnClickListener() {
//             @Override
//             public void onClick(View v) {
//                 Utils.routeSinglePage("nothing", getActivity(), CommonSingle.class);
//             }
//         });
//     }
// }


import android.app.Fragment;
import android.view.MenuItem;
import com.hkm.slidingmenulib.gestured.SlidingMenu;
import com.hkm.slidingmenulib.layoutdesigns.app.SlidingAppCompactActivity;
import com.hypebeast.demoslidemenu.content.expandablemenu.MenuFragment;
import com.hypebeast.demoslidemenu.helpr.structurebind;
import com.hypebeast.demoslidemenu.content.mainpageDemo;
package com.hypebeast.demoslidemenu;




public class MainActivityDemo extends SlidingAppCompactActivity<Fragment> {


    @Override
    protected int getDefaultMainActivityLayoutId() {
        return SlidingAppCompactActivity.BODY_LAYOUT.actionbar.getResID();
    }

    @Override
// Path: AdvancedSlidingMenu/demoslidemenu/src/main/java/com/hypebeast/demoslidemenu/content/expandablemenu/MenuFragment.java
// public class MenuFragment extends Fragment {
// 
//     private UltimateRecyclerView ultimateRecyclerView;
//     private expCustomAdapter simpleRecyclerViewAdapter = null;
//     private LinearLayoutManager linearLayoutManager;
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         return inflater.inflate(R.layout.left_slid_menu, container, false);
//     }
// 
// 
//     private static String[] sampledatagroup1 = {
//             "peter", "http://google",
//             "billy", "http://google",
//             "lisa", "http://google",
//             "visa", "http://google"
//     };
//     private static String[] sampledatagroup2 = {
//             "mother", "http://google",
//             "father", "http://google",
//             "son", "http://google",
//             "holy spirit", "http://google",
//             "god the son", "http://google"
//     };
//     private static String[] sampledatagroup3 = {
//             "SONY", "http://google",
//             "LG", "http://google",
//             "SAMSUNG", "http://google",
//             "XIAOMI", "http://google",
//             "HTC", "http://google"
//     };
// 
//     @Override
//     public void onViewCreated(View view, Bundle savedInstanceState) {
//         super.onViewCreated(view, savedInstanceState);
//         ultimateRecyclerView = (UltimateRecyclerView) view.findViewById(R.id.ultimate_recycler_view_menu);
//         ultimateRecyclerView.setHasFixedSize(false);
//         /**
//          * this is the adapter for the expanx
//          */
//         simpleRecyclerViewAdapter = new expCustomAdapter(getActivity());
//         simpleRecyclerViewAdapter.addAll(expCustomAdapter.getPreCodeMenu(
//                         sampledatagroup1,
//                         sampledatagroup2,
//                         sampledatagroup3),
//                 0);
// 
//         linearLayoutManager = new LinearLayoutManager(getActivity());
//         ultimateRecyclerView.setLayoutManager(linearLayoutManager);
//         ultimateRecyclerView.setAdapter(simpleRecyclerViewAdapter);
//         ultimateRecyclerView.setRecylerViewBackgroundColor(Color.parseColor("#ffffff"));
//         addExpandableFeatures();
// 
//     }
// 
//     private void addExpandableFeatures() {
//         ultimateRecyclerView.getItemAnimator().setAddDuration(100);
//         ultimateRecyclerView.getItemAnimator().setRemoveDuration(100);
//         ultimateRecyclerView.getItemAnimator().setMoveDuration(200);
//         ultimateRecyclerView.getItemAnimator().setChangeDuration(100);
//     }
// 
// }
// 
// Path: AdvancedSlidingMenu/demoslidemenu/src/main/java/com/hypebeast/demoslidemenu/helpr/structurebind.java
// public enum structurebind {
//     main(R.id.main, MainActivityDemo.class),
//     blocktest(R.id.blocktset, testblock.class),
//     hb(R.id.hbstyle, demohb.class),
//     sys(R.id.system, MainActivityDemo.class),
//     profile(R.id.profiletype, MainActivityDemo.class);
//     private final Class<? extends AppCompatActivity> internalClazz;
//     private final int menu_id;
// 
//     structurebind(final @IdRes int menuid, final Class<? extends AppCompatActivity> triggerclassname) {
//         this.internalClazz = triggerclassname;
//         this.menu_id = menuid;
//     }
// 
//     public int getId() {
//         return menu_id;
//     }
// 
//     public Class<? extends AppCompatActivity> getClassName() {
//         return this.internalClazz;
//     }
// 
//     public static void startfromSelectionMenu(final @IdRes int menuID, final Context mcontext, @Nullable final Bundle mbundle) {
//         final int g = structurebind.values().length;
//         for (int i = 0; i < g; i++) {
//             structurebind bind = structurebind.values()[i];
//             if (bind.getId() == menuID) {
//                 if (mbundle != null) {
//                     bind.newapp(mcontext, mbundle);
//                 } else {
//                     bind.newapp(mcontext);
//                 }
//                 return;
//             }
//         }
//     }
// 
//     public void newapp(final Context ctx) {
//         final Intent in = new Intent(ctx, internalClazz);
//         ctx.startActivity(in);
//     }
// 
// 
//     public void newapp(final Context ctx, final Bundle bun) {
//         final Intent in = new Intent(ctx, internalClazz);
//         in.putExtras(bun);
//         ctx.startActivity(in);
//     }
// 
// }
// 
// Path: AdvancedSlidingMenu/demoslidemenu/src/main/java/com/hypebeast/demoslidemenu/content/mainpageDemo.java
// public class mainpageDemo extends Fragment {
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//         return inflater.inflate(R.layout.activity_main, container, false);
//     }
// 
//     @Override
//     public void onViewCreated(View view, Bundle savedInstanceState) {
//         super.onViewCreated(view, savedInstanceState);
//         Button bIntent = (Button) view.findViewById(R.id.openNewIntent);
//         bIntent.setOnClickListener(new View.OnClickListener() {
//             @Override
//             public void onClick(View v) {
//                 Utils.routeSinglePage("nothing", getActivity(), CommonSingle.class);
//             }
//         });
//     }
// }


// Path: AdvancedSlidingMenu/demoslidemenu/src/main/java/com/hypebeast/demoslidemenu/MainActivityDemo.java
import android.app.Fragment;
import android.view.MenuItem;
import com.hkm.slidingmenulib.gestured.SlidingMenu;
import com.hkm.slidingmenulib.layoutdesigns.app.SlidingAppCompactActivity;
import com.hypebeast.demoslidemenu.content.expandablemenu.MenuFragment;
import com.hypebeast.demoslidemenu.helpr.structurebind;
import com.hypebeast.demoslidemenu.content.mainpageDemo;

package com.hypebeast.demoslidemenu;




public class MainActivityDemo extends SlidingAppCompactActivity<Fragment> {


    @Override
    protected int getDefaultMainActivityLayoutId() {
        return SlidingAppCompactActivity.BODY_LAYOUT.actionbar.getResID();
    }

    @Override
    protected MenuFragment getFirstMenuFragment() {