Code Monkey home page Code Monkey logo

wanandroid's Introduction

WanAndroid

WanAndroid,一款基于MVP + Rxjava2 + Dagger2 + Retrofit + Material Design的应用, 欢迎大家start、fork!

Features

  • 首页
  • 知识体系
  • 公众号
  • 导航
  • 项目
  • 搜索,热词搜索,搜索记录
  • 登录、注册、注销
  • 我的收藏、取消收藏、添加收藏
  • 文章内容,分享文章
  • 夜间模式,沉浸式切换,清除缓存
  • 应用内检查更新
  • 多语言支持
  • ...

Tips

Preview


wan1 wan2

wan3 wan4

Screenshots


sc2 sc3 sc4 sc5 sc6 sc7 sc8 sc9 sc10 sc11

Download (v1.7, Android 4.4 or above)

点击下载apk

Points And Reference

1、Rxjava2配合Retrofit进行网络请求

2、Rxjava2与Retrofit的封装使用

3、Retrofit配合Cookie实现免登陆与实现离线缓存

4、用Rxjava2实现轻量级的EventBus

5、依赖注入实现,配合MVP模式

6、使用了MD控件和动画

7、自定义Behavior(俩种实现)

8、使用原生的夜间模式,并切换自然

9、实现了Fragment的操作和懒加载

10、使用DownloadManager实现应用更新

11、使用Fragment代理权限申请,减少重复代码的编写

12、封装视图状态逻辑切换,让视图状态切换更简单

13、努力兼容与适配Android版本

14、集成腾讯Bugly与LeakCanary,更容易找出bug与内存泄漏

  • 参考官方文档

以上是项目中的主要亮点和我做项目时参考的文章,当然对于一些主流的框架官方文档中也有详细的介绍,更多细节可以查看项目具体代码。

Thanks

TODO

ChangeLog

v1.7 2022-1-24
1、适配android 10的暗黑模式和作用域存储
2、修复一些问题

v1.6 2019-9-22
1、 添加个人积分、积分排行榜
2、 优化夜间切换,修复一些问题
3、 移除WaveLoadingView库
4、 封装Loading,统一视图切换

v1.5 2019-3-27
1、Wnadroid接口从http转为https
2、使用Fragment代理申请权限

v1.4 2019-2-23
1、修复v1.3登陆失败问题
2、添加更换头像背景功能
3、修复7.0以上不能在项目中传递file://格式的uri导致的异常(FileUriExposedException)

v1.3 2018-12-31
1、添加文章长按
1、修复一些bug
1、添加文章标签

v1.2 2018-12-24
1、增加公众号模块
2、集成bugly
3、移除Fragmentation库
4、更新版本更新弹窗

v1.1 2018-12-15
1、优化夜间切换
2、加入沉浸切换
3、加入缓存清理
4、增加活动过渡动画
5、5.0以上增加波纹点击效果,5.0以下增加触摸反馈
6、增加应用内检查更新
7、登陆持久化

v1.0 2018-12-1
第一版发布

End

本项目只用作学习用途,不做其他用途

License

Copyright 2018 rain9155

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 a

          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.
 

wanandroid's People

Contributors

rain9155 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wanandroid's Issues

缺少相关类

少了import com.example.hy.wanandroid.di.component.activity.DaggerMainActivityComponent;
import com.example.hy.wanandroid.di.component.activity.DaggerHierarchySecondActivityComponent;
import com.example.hy.wanandroid.di.component.activity.DaggerArticleActivityComponent;
import com.example.hy.wanandroid.di.component.activity.DaggerCollectionActivityComponent;
import com.example.hy.wanandroid.di.component.activity.DaggerRegisterActivityComponent;
import com.example.hy.wanandroid.di.component.activity.DaggerSettingsActivityComponent;
import com.example.hy.wanandroid.config.GlideApp;

轮播图

首页刷新轮播图没有清理

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.