一个基本的MVP应用框架(RxJava+Retrofit+Glide+IjkPlayer),封装比较完善,易于使用,帮助日常快速开发一个项目。
框架模块:
1.contract,model,presenter较好的解耦,多个基本url封装,根据HostType来进行区分;
2.BaseActivity和BaseFragment封装;
3.集成界面数据刷新库,根据请求结果展示界面(正常显示,数据为空,网络错误等);
4.使用DKPlayer进行视频播放,如有需求可改造该视频库用于解析视频后播放,已经实现,若有需要可通过邮箱[email protected]联系我;
5.万能适配器的封装使用;
Copyright 2017-2018, wangfeng19930909
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.