content: package com.example.y.mvp.mvp.presenter;
  
  import com.example.y.mvp.mvp.Bean.ImageListInfo;
  import com.example.y.mvp.mvp.Bean.ImageNewInfo;
  import com.example.y.mvp.mvp.Bean.NewsListInfo;
  
  /**
   * by y on 2016/5/27.
   */
  
  public interface BasePresenter {
  
  
      interface ImageDetailPresenter {
          void requestNetWork(int id);
  
          void competence(int requestCode, int[] grantResults);
      }
  
      interface ImageListPresenter {
          void requestNetWork(int id, int page);
  
          void onClick(ImageListInfo info);
      }
  
      interface ImageNewPresenter {
          void requestNetWork(String id, String rows);
  
          void onClick(ImageNewInfo info);
      }
  
      interface MainViewPresenter {
          void switchId(int id);
      }
  
      interface ToolBarItemPresenter {
          void switchId(int id);
      }
  
  
      interface NewsListPresenter {
          void requestNetWork(int id, int page);
  
          void onClick(NewsListInfo info);
      }
  
      interface NewsDetailPresenter {
          void requestNetWork(int id);
      }
  
      interface TabNamePresenter {
          void requestNetWork();
      }
  
      interface TabNewsPresenter {
          void requestNetWork();
      }
  
  }
  