MCPcopy Index your code
hub / github.com/1170762202/WanAndroid

github.com/1170762202/WanAndroid @2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.0 ↗ · + Follow
2,609 symbols 6,439 edges 324 files 570 documented · 22%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

简介

本项目基于 组件化 + MVVM + Arouter + Jetpack + Rxjava + Retrofit + AOP 等框架实现的一款开源项目。如有任何疑问或bug欢迎给我提issues,项目会一直维护下去,一起努力打造一个完美的app。 源码地址 喜欢的话,记得给个star哦!

2.0.0版本更新

  • MVVM架构

1.3.1版本更新

  • 自定义Gradle插件 + ASM 实现无埋点监控

1.2.1版本更新

  • 新增国际化,兼容部分机型国际化失败

1.1.1版本更新

  • module单独编译运行
  • module-main迁移至app,并移除module-main

历史版本

首页有彩蛋哦,等你发现!!!

效果图

效果图加载不出来点我

1.png | 2.png |:-|:-|

欢迎页.gif | 登录.gif | 首页.gif | 收藏动画.gif |:-|:-|:-|:-|

公众号.gif | 项目.gif | 广场.gif | 分享文章.gif |:-|:-|:-|:-|

1.gif 1.gif 1.gif 1.gif

主要功能

  • 首页、项目、广场、公众号、我的
  • 登录、注册 动画交互
  • 搜索页面共享元素动画过渡
  • 项目页面仿高德地图滑动面板交互
  • 广场页面tab跟随滑动系数渐变、列表采用谷歌爸爸的flexboxlayout流式布局
  • 广场页面根据滑动系数给indicator添加动画效果
  • 公众号页面点击左上角为一个90°的arc交互动画,列表数据从下往上过渡的动画效果
  • 我的页面仿百度外卖个人中心水波纹效果
  • 整体采用Material Design设计风格
  • 首页有彩蛋哦!

项目目录结构

目录结构

java |- WanAndroid ||-- app // app 入口 ||librarys //library库 ||--library-aop// aop 封装(登录校验、点击) ||--library-db// room数据库封装 ||--library-network// 网络请求封装(livedata+rxjava+retrofit) ||--library-base// 基础封装(BaseAc、BaseFg、BaseUtil等) ||--library-common//通用库(全局Context获取等) ||--library-widget// 控件封装 ||--modules// 功能模块 ||--module-home// 首页模块 ||--module-login// 登录模块 ||--module-project// 项目模块 ||--module-square // 广场模块 ||--module-public //公众号模块 ||--module-mine//我的模块 ||--module-web//网页模块 ||--plugins//插件模块 ||--plugin-lifecycle //生命周期插件 ||-- README.md

module单独编译运行说明

gradle.properties 文件下有个"集成开发模式" 和 "组件开发模式"的切换开关 true表示组件独立运行,false表示一个library

isRunModule=true

主要开源框架

点我下载或者扫码下载

1600940185(1).jpg

致谢 * 阿里矢量图 * WanAndroid

Extension points exported contracts — how you extend this code

AnimatorListener (Interface)
An animation listener receives notifications from an animation. Notifications indicate animation related events, such [8 …
library-widget/src/main/java/com/zlx/widget/revealanim/SupportAnimator.java
OnStateChangedListener (Interface)
(no doc) [7 implementers]
module-mine/src/main/java/com/zlx/module_mine/widget/behavior/ScaleDownShowBehavior.java
ApiCallback (Interface)
(no doc) [17 implementers]
library-network/src/main/java/com/zlx/module_network/factory/ApiCallback.java
IModel (Interface)
(no doc) [5 implementers]
library-base/src/main/java/com/zlx/module_base/base_ac/IModel.java
TabPagerListener (Interface)
FileName: TabPagerListener Created by zlx on 2020/9/18 14:40 Email: 1170762202@qq.com Description: [2 implementers]
module-square/src/main/java/com/zlx/module_square/impl/TabPagerListener.java
TabPagerListener (Interface)
FileName: TabPagerListener Created by zlx on 2020/9/18 14:40 Email: 1170762202@qq.com Description: [2 implementers]
app/src/main/java/com/zlx/sharelive/impl/TabPagerListener.java
SearchHistoryDao (Interface)
Created by zlx on 2020/9/23 10:32 Email: 1170762202@qq.com Description:
library-db/src/main/java/com/zlx/library_db/dao/SearchHistoryDao.java
OnSearchHisCallBack (Interface)
(no doc) [1 implementers]
module-home/src/main/java/com/zlx/module_home/adapters/RvAdapterSearchHis.java

Core symbols most depended-on inside this repo

get
called by 150
library-network/src/main/java/com/zlx/module_network/service/ApiService.java
getHeight
called by 101
library-base/src/main/java/com/zlx/module_base/widget/slideback/ISlideView.java
getWidth
called by 92
library-base/src/main/java/com/zlx/module_base/widget/slideback/ISlideView.java
setText
called by 67
library-widget/src/main/java/com/zlx/widget/submit_button/SubmitButton.java
getContext
called by 59
library-base/src/main/java/com/zlx/module_base/base_adapter/BaseRecycleAdapter.java
getPoolByTypeAndPriority
called by 50
library-base/src/main/java/com/zlx/module_base/base_util/ThreadUtils.java
setColor
called by 45
library-widget/src/main/java/com/zlx/widget/hivelayoutmanager/HiveDrawable.java
enqueue
called by 39
library-network/src/main/java/com/zlx/module_network/factory/ApiCall.java

Shape

Method 2,214
Class 342
Interface 47
Enum 6

Languages

Java100%

Modules by API surface

library-widget/src/main/java/com/zlx/widget/slidinguppanel/SlidingUpPanelLayout.java78 symbols
library-base/src/main/java/com/zlx/module_base/base_util/ThreadUtils.java73 symbols
library-base/src/main/java/com/zlx/module_base/base_api/res_data/ArticleBean.java66 symbols
library-widget/src/main/java/com/zlx/widget/slidinguppanel/ViewDragHelper.java61 symbols
library-base/src/main/java/com/zlx/module_base/widget/shinebutton/ShineButton.java44 symbols
library-base/src/main/java/com/zlx/module_base/base_api/res_data/UserInfo.java38 symbols
library-base/src/main/java/com/zlx/module_base/base_api/res_data/TreeListRes.java38 symbols
library-base/src/main/java/com/zlx/module_base/base_ac/BaseAc.java33 symbols
library-widget/src/main/java/com/zlx/widget/shadow/ShadowLayout.java32 symbols
library-widget/src/main/java/com/zlx/widget/bubblenavigation/BubbleToggleItem.java32 symbols
library-widget/src/main/java/com/zlx/widget/hivelayoutmanager/HiveLayoutManager.java29 symbols
module-public/src/main/java/com/zlx/module_public/guillotine/animation/GuillotineAnimation.java28 symbols

For agents

$ claude mcp add WanAndroid \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact