// Path: app/src/main/java/com/hhl/devheadline/presenter/SettingPresenter.java
// public class SettingPresenter extends BasePresenter<ISettingView> {
//     public SettingPresenter(ISettingView view) {
//         super(view);
//     }
// }
// 
// Path: app/src/main/java/com/hhl/devheadline/ui/iview/ISettingView.java
// public interface ISettingView extends IBaseView {
// }


import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.hhl.devheadline.R;
import com.hhl.devheadline.presenter.SettingPresenter;
import com.hhl.devheadline.ui.iview.ISettingView;
package com.hhl.devheadline.ui.activity;



public class SettingActivity extends BaseActivity<SettingPresenter> implements ISettingView {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getSupportActionBar().setDefaultDisplayHomeAsUpEnabled(true);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);

//        if (savedInstanceState == null) {
//            getFragmentManager().beginTransaction().replace(R.id.container,
//                    new SettingFragment()).commit();
//        }
    }

    @Override
    protected int getContentView() {
        return R.layout.activity_setting;
    }

    @Override
// Path: app/src/main/java/com/hhl/devheadline/presenter/SettingPresenter.java
// public class SettingPresenter extends BasePresenter<ISettingView> {
//     public SettingPresenter(ISettingView view) {
//         super(view);
//     }
// }
// 
// Path: app/src/main/java/com/hhl/devheadline/ui/iview/ISettingView.java
// public interface ISettingView extends IBaseView {
// }


// Path: app/src/main/java/com/hhl/devheadline/ui/activity/SettingActivity.java
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.hhl.devheadline.R;
import com.hhl.devheadline.presenter.SettingPresenter;
import com.hhl.devheadline.ui.iview.ISettingView;

package com.hhl.devheadline.ui.activity;



public class SettingActivity extends BaseActivity<SettingPresenter> implements ISettingView {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getSupportActionBar().setDefaultDisplayHomeAsUpEnabled(true);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);

//        if (savedInstanceState == null) {
//            getFragmentManager().beginTransaction().replace(R.id.container,
//                    new SettingFragment()).commit();
//        }
    }

    @Override
    protected int getContentView() {
        return R.layout.activity_setting;
    }

    @Override
    protected SettingPresenter getPresenter() {