Skip to content

mengjies/MJWeather

Repository files navigation

MJWeather

##MJ天气是一款天气预报软件,基于MVP架构,采用各主流框架实现。

开源框架

项目结构

-com.mj.weather
    + common          //公共模块
    + module1         //业务1模块
    - weather         //天气预报模块
        + activity          //Activity全局的控制者,负责创建View和Presenter的实例
        + component         //Dagger构建对象图@Component模块
        + contract          //契约类,用于统一管理View和Presenter的接口
        - model             //MVP中的Model层
            + db                //数据库
            + http              //网络
            + repository        //Model层中的Data Repository模块
        + module            //Dagger@Module模块
        + presenter         //MVP中的Presenter层
        - view              //MVP中的View层
            + adapter
            + fragment
            + ...
    + module2           //业务2模块
    + ...

截图