// Path: app/src/main/java/com/idisfkj/hightcopywx/main/model/MainModel.java
// public interface MainModel {
// }
// 
// Path: app/src/main/java/com/idisfkj/hightcopywx/main/model/MainModelImp.java
// public class MainModelImp implements MainModel {
// 
// }
// 
// Path: app/src/main/java/com/idisfkj/hightcopywx/main/view/MainView.java
// public interface MainView {
//     void switchWX();
// 
//     void switchAddressBook();
// 
//     void switchFind();
// 
//     void switchMe();
// 
//     void switchAlpha(int id);
// 
//     void jumpChatActivity();
// 
//     void createBadgeView();
// }


import com.idisfkj.hightcopywx.R;
import com.idisfkj.hightcopywx.main.model.MainModel;
import com.idisfkj.hightcopywx.main.model.MainModelImp;
import com.idisfkj.hightcopywx.main.view.MainView;
package com.idisfkj.hightcopywx.main.presenter;


/**
 * Created by idisfkj on 16/4/19.
 * Email : idisfkj@qq.com.
 */
public class MainPresenterImp implements MainPresenter {

    private MainView mMianViw;
    private MainModel mMainModel;

    public MainPresenterImp(MainView mainView) {
        mMianViw = mainView;
        mMainModel = new MainModelImp();
    }

    @Override
    public void switchNavigation(int id) {
        switch (id) {
            case R.id.ll_wx:
                mMianViw.switchWX();
                break;
            case R.id.ll_address:
                mMianViw.switchAddressBook();
                break;
            case R.id.ll_find:
                mMianViw.switchFind();
                break;
            case R.id.ll_me:
                mMianViw.switchMe();
                break;
        }
        mMianViw.switchAlpha(id);
    }

// Path: app/src/main/java/com/idisfkj/hightcopywx/main/model/MainModel.java
// public interface MainModel {
// }
// 
// Path: app/src/main/java/com/idisfkj/hightcopywx/main/model/MainModelImp.java
// public class MainModelImp implements MainModel {
// 
// }
// 
// Path: app/src/main/java/com/idisfkj/hightcopywx/main/view/MainView.java
// public interface MainView {
//     void switchWX();
// 
//     void switchAddressBook();
// 
//     void switchFind();
// 
//     void switchMe();
// 
//     void switchAlpha(int id);
// 
//     void jumpChatActivity();
// 
//     void createBadgeView();
// }


// Path: app/src/main/java/com/idisfkj/hightcopywx/main/presenter/MainPresenterImp.java
import com.idisfkj.hightcopywx.R;
import com.idisfkj.hightcopywx.main.model.MainModel;
import com.idisfkj.hightcopywx.main.model.MainModelImp;
import com.idisfkj.hightcopywx.main.view.MainView;

package com.idisfkj.hightcopywx.main.presenter;


/**
 * Created by idisfkj on 16/4/19.
 * Email : idisfkj@qq.com.
 */
public class MainPresenterImp implements MainPresenter {

    private MainView mMianViw;
    private MainModel mMainModel;

    public MainPresenterImp(MainView mainView) {
        mMianViw = mainView;
        mMainModel = new MainModelImp();
    }

    @Override
    public void switchNavigation(int id) {
        switch (id) {
            case R.id.ll_wx:
                mMianViw.switchWX();
                break;
            case R.id.ll_address:
                mMianViw.switchAddressBook();
                break;
            case R.id.ll_find:
                mMianViw.switchFind();
                break;
            case R.id.ll_me:
                mMianViw.switchMe();
                break;
        }
        mMianViw.switchAlpha(id);
    }

    @Override