# Ximalaya **Repository Path**: CoolCrush/Ximalaya ## Basic Information - **Project Name**: Ximalaya - **Description**: 接入喜马拉雅开放平台,完成一款上下班路上、散步健身或是临睡前,都是音频得以最佳伴随的碎片时间和应用场景。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-08-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 喜马拉雅 ## 使用的框架 - 图片加载框架:[Glide](https://github.com/bumptech/glide) - 网络请求框架:[Retrofit](https://github.com/square/retrofit)、[okhttp](https://github.com/square/okhttp) - UI注入框架:[ButterKnife](https://github.com/JakeWharton/butterknife) - 二维码框架:[Zxing](https://github.com/zxing/zxing)、[RxTool](https://github.com/Tamsiree/RxTool) - 刷新/加载更多UI框架:[tkrefreshlayout](https://github.com/lcodecorex/TwinklingRefreshLayout) - 导航和指示器:[MaterialDesign](https://developer.android.com/guide/topics/ui/look-and-feel) ## 项目结构 ### `MVP`框架架构 优点 1. 降低耦合度,隐藏数据,使Activity(或Fragment)中代码更加简洁,只负责处理View的职责; 2. 模块职责分工明确; 3. 方便测试开发; 4. 代码复用性较高。 ### `retrofit`处理网络请求 优点 1. 可以配置不同HTTP client来实现网络请求,如okhttp、httpclient等; 2. 请求的方法参数注解都可以定制; 3. 支持同步、异步和RxJava; 4. 超级解耦; 5. 可以配置不同的反序列化工具来解析数据,如json、xml等; 6. 使用非常方便灵活; ![img](/img/mvp.PNG) ## 功能版本 - Android 音乐播放器 - 切换播放歌曲\音频 - 搜索音频 - 切换歌曲的播放模式(循环播放\顺序播放\单曲循环) ## 待办事项 - 保存用户的播放历史记录 - 完成用户订阅音频功能 - .......... ## 软件运行截图 ![img](/img/preview1.png) ## 联系我 `邮箱:`CoolCrush@126.com