61 lines
1.9 KiB
Markdown
61 lines
1.9 KiB
Markdown
# 项目结构
|
||
- `app` PDLive入口
|
||
- `baidu` 百度模块,废弃
|
||
- `beauty` 旧美颜模块,废弃
|
||
- `common` 公共模块
|
||
- `FaceUnity` 美颜模块
|
||
- `lib_country_code` 不管他
|
||
- `live` PDLive直播模块
|
||
- `main` PDLive主页模块
|
||
- `OneToOne` 1v1入口*
|
||
- `pluginsForAnchor` PDLive插件化打包模块
|
||
- `Share` PDLive分享模块
|
||
- `TabLayout` [滑动翻页库模块](!https://github.com/angcyo/DslTabLayout)
|
||
- `video` PDLive 视频模块
|
||
- `ViewPager2Delegate` [滑动翻页附属模块](!https://github.com/angcyo/DslTabLayout)
|
||
# 运行说明
|
||
Gradle版本:
|
||
distributionUrl=`https://services.gradle.org/distributions/gradle-6.1.1-all.zip`
|
||
|
||
jdk版本:`11.0.2`
|
||
|
||
AndroidStudio版本:`Android Studio Giraffe | 2022.3.1 Patch 2`
|
||
|
||
### 若无法编译请检查`gradle.properties`的代理设置
|
||
|
||
# 1V1项目介绍
|
||
## [项目文档](!https://alidocs.dingtalk.com/i/nodes/YQBnd5ExVEw1DlvwFNaZElK48yeZqMmz?utm_scene=person_space)
|
||
## [蓝图](!https://lanhuapp.com/web/#/item/project/stage?tid=a589c634-a1c0-415a-9691-7bad6c77312c&pid=be2586b6-6583-4447-ac83-bf9669ad4854)
|
||
|
||
## 1v1项目结构
|
||
|
||
- `activity` 页面
|
||
- - `fragments`
|
||
- - - `message` 消息页面外层内容
|
||
- - `message` 消息页面独立Activity
|
||
- `adapter` 适配器
|
||
- `bean` 数据Bean类
|
||
- `dialog` 对话框类
|
||
- `network` 网络请求
|
||
- `manager` 单例模式
|
||
- `utils` 工具类
|
||
- `AppContext` Application
|
||
|
||
### 项目说明
|
||
[即时通讯(IM)融云SDK](!https://doc.rongcloud.cn/im/Android/5.X/ui/init)
|
||
|
||
[实时音视频融云SDK](!https://doc.rongcloud.cn/call/Android/5.X/callkit/init)
|
||
|
||
Activity 跳转用Route模块,参考`RouteManager`和`MainActivity`
|
||
|
||
网络请求使用`OTONetManager`
|
||
图片加载使用`ImgLoader.display(Context context, String url, ImageView imageView)`
|
||
|
||
### 签名文件
|
||
签名暂时共享PDLive项目签名,用根目录下的`hdl.jks`,其余参考`build.gradle`文件
|
||
|
||
### APP账号密码
|
||
运行PDLive项目,注册即可,暂时共用
|
||
|
||
### 混淆
|
||
暂不混淆 |