// Path: 2014Spring/src/main/java/org/techbooster/app/abc/consts/UrlConsts.java
// public class UrlConsts {
// 
//     public final static String BASE_URL = "http://www.android-group.jp/conference/abc2014s/";
//     public final static String BAZAAR_ENTRY_URL = BASE_URL + "bazaar/";
//     public final static String CONFERENCE_ENTRY_URL = BASE_URL + "conference/";
// 
//     public final static String CONFERENCE_KEYNOTE_URL = CONFERENCE_ENTRY_URL + "keynote/";
//     public final static String CONFERENCE_DESIGN_URL = CONFERENCE_ENTRY_URL + "design/";
//     public final static String CONFERENCE_MAKER_URL = CONFERENCE_ENTRY_URL + "maker/";
//     public final static String CONFERENCE_CONTENT_URL = CONFERENCE_ENTRY_URL + "content/";
//     public final static String CONFERENCE_DEV_URL = CONFERENCE_ENTRY_URL + "dev/";
//     public final static String CONFERENCE_DEVICE_URL = CONFERENCE_ENTRY_URL + "device/";
//     public final static String CONFERENCE_EFFECTIVE_URL = CONFERENCE_ENTRY_URL + "effective/";
//     public final static String CONFERENCE_LT_URL = CONFERENCE_ENTRY_URL + "lt/";
//     public final static String CONFERENCE_BUSINESS_URL = CONFERENCE_ENTRY_URL + "business/";
// 
//     //Define duplicated value, because context to be used is different.
//     public final static String OFFICIAL_SITE_URL =
//             "http://www.android-group.jp/conference/abc2014s/";
//     public final static String OBFT_URL = "http://openbeacon.android-group.jp/?page_id=64";
// }
// 
// Path: 2014Spring/src/main/java/org/techbooster/app/abc/controllers/ActionBarController.java
// public interface ActionBarController {
// 
//     public void setTitle(String title);
//     public void setTitle(int titleResId);
// 
// }
// 
// Path: 2014Spring/src/main/java/org/techbooster/app/abc/controllers/FragmentTransitionController.java
// public interface FragmentTransitionController {
// 
//     public void addFragment(Fragment fragment);
//     public void replaceFragment(Fragment fragment);
// 
// }
// 
// Path: 2014Spring/src/main/java/org/techbooster/app/abc/tools/IntentUtils.java
// public class IntentUtils {
// 
//     public static void openUrl(Context context, String url){
//         Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
//         context.startActivity(intent);
//     }
// }


import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.app.Fragment;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.ListView;
import com.sys1yagi.indirectinjector.IndirectInjector;
import org.techbooster.app.abc.R;
import org.techbooster.app.abc.consts.UrlConsts;
import org.techbooster.app.abc.controllers.ActionBarController;
import org.techbooster.app.abc.controllers.FragmentTransitionController;
import org.techbooster.app.abc.tools.IntentUtils;
import javax.inject.Inject;
import butterknife.ButterKnife;
import butterknife.InjectView;
    @InjectView(R.id.menu_list)
    ListView mDrawerListView;

    private ActionBarDrawerToggle mDrawerToggle;

    private int mCurrentSelectedPosition = 2;

    private boolean mFromSavedInstanceState;

    private boolean mUserLearnedDrawer;

    public NavigationDrawerFragment() {
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getActivity());
        mUserLearnedDrawer = sp.getBoolean(PREF_USER_LEARNED_DRAWER, false);

        if (savedInstanceState != null) {
            mCurrentSelectedPosition = savedInstanceState.getInt(STATE_SELECTED_POSITION);
            mFromSavedInstanceState = true;
        }

    }

    @Override
    public void onActivityCreated(Bundle savedInstanceState) {
// Path: 2014Spring/src/main/java/org/techbooster/app/abc/consts/UrlConsts.java
// public class UrlConsts {
// 
//     public final static String BASE_URL = "http://www.android-group.jp/conference/abc2014s/";
//     public final static String BAZAAR_ENTRY_URL = BASE_URL + "bazaar/";
//     public final static String CONFERENCE_ENTRY_URL = BASE_URL + "conference/";
// 
//     public final static String CONFERENCE_KEYNOTE_URL = CONFERENCE_ENTRY_URL + "keynote/";
//     public final static String CONFERENCE_DESIGN_URL = CONFERENCE_ENTRY_URL + "design/";
//     public final static String CONFERENCE_MAKER_URL = CONFERENCE_ENTRY_URL + "maker/";
//     public final static String CONFERENCE_CONTENT_URL = CONFERENCE_ENTRY_URL + "content/";
//     public final static String CONFERENCE_DEV_URL = CONFERENCE_ENTRY_URL + "dev/";
//     public final static String CONFERENCE_DEVICE_URL = CONFERENCE_ENTRY_URL + "device/";
//     public final static String CONFERENCE_EFFECTIVE_URL = CONFERENCE_ENTRY_URL + "effective/";
//     public final static String CONFERENCE_LT_URL = CONFERENCE_ENTRY_URL + "lt/";
//     public final static String CONFERENCE_BUSINESS_URL = CONFERENCE_ENTRY_URL + "business/";
// 
//     //Define duplicated value, because context to be used is different.
//     public final static String OFFICIAL_SITE_URL =
//             "http://www.android-group.jp/conference/abc2014s/";
//     public final static String OBFT_URL = "http://openbeacon.android-group.jp/?page_id=64";
// }
// 
// Path: 2014Spring/src/main/java/org/techbooster/app/abc/controllers/ActionBarController.java
// public interface ActionBarController {
// 
//     public void setTitle(String title);
//     public void setTitle(int titleResId);
// 
// }
// 
// Path: 2014Spring/src/main/java/org/techbooster/app/abc/controllers/FragmentTransitionController.java
// public interface FragmentTransitionController {
// 
//     public void addFragment(Fragment fragment);
//     public void replaceFragment(Fragment fragment);
// 
// }
// 
// Path: 2014Spring/src/main/java/org/techbooster/app/abc/tools/IntentUtils.java
// public class IntentUtils {
// 
//     public static void openUrl(Context context, String url){
//         Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
//         context.startActivity(intent);
//     }
// }


// Path: 2014Spring/src/main/java/org/techbooster/app/abc/fragments/NavigationDrawerFragment.java
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.app.Fragment;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.ListView;
import com.sys1yagi.indirectinjector.IndirectInjector;
import org.techbooster.app.abc.R;
import org.techbooster.app.abc.consts.UrlConsts;
import org.techbooster.app.abc.controllers.ActionBarController;
import org.techbooster.app.abc.controllers.FragmentTransitionController;
import org.techbooster.app.abc.tools.IntentUtils;
import javax.inject.Inject;
import butterknife.ButterKnife;
import butterknife.InjectView;

    @InjectView(R.id.menu_list)
    ListView mDrawerListView;

    private ActionBarDrawerToggle mDrawerToggle;

    private int mCurrentSelectedPosition = 2;

    private boolean mFromSavedInstanceState;

    private boolean mUserLearnedDrawer;

    public NavigationDrawerFragment() {
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getActivity());
        mUserLearnedDrawer = sp.getBoolean(PREF_USER_LEARNED_DRAWER, false);

        if (savedInstanceState != null) {
            mCurrentSelectedPosition = savedInstanceState.getInt(STATE_SELECTED_POSITION);
            mFromSavedInstanceState = true;
        }

    }

    @Override
    public void onActivityCreated(Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);