Skip to content
/ Pioneer Public

A android project using Data/Biz/Ui and MVP.该项目演示使用最佳实践来开发Android应用。Dependencies: Dagger, Otto, okhttp, Picasso, Retrofit, Butterknife and Timber.它使用了 分层、MVP、依赖注入、View注解和事件总线等模式。

License

Notifications You must be signed in to change notification settings

baoti/Pioneer

Repository files navigation

Pioneer

It is a android project which using "Best Practices" with "Dependency Inject", "View Bind" and "Event Bus".

使用的库有:

  • com.jakewharton:butterknife View 绑定
  • com.squareup.dagger:dagger 依赖 注入
  • com.squareup:otto 使用 Event Bus
  • com.squareup.picasso:picasso 图片的加载与缓存
  • com.squareup.retrofit:retrofit 封装 REST API

单元测试库使用了 Robolectric

补充: 该项目的 MVP 以及代码结构,灵感来自 Android-CleanArchitecture ,同时也做了大量改动。 Presenter 的设计,借鉴了 square's FlowMortar

License

Copyright 2014, 2015 Sean Liu.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A android project using Data/Biz/Ui and MVP.该项目演示使用最佳实践来开发Android应用。Dependencies: Dagger, Otto, okhttp, Picasso, Retrofit, Butterknife and Timber.它使用了 分层、MVP、依赖注入、View注解和事件总线等模式。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages