1 Star 0 Fork 2

weicui / xiangle-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

相乐搞笑(xiangle-android)

之前分享了 xiangle-ios ,现把Android版也分享出来

项目介绍

主框架: TabLayout+ViewPager
子页面: 所有子页面共用一个Activity,具体实现集中在Fragment
网络请求: retrofit2+rxjava3
图片加载: glide
列表加载: RecyclerView或ListView
文件存储: OSS(sts方式)
下拉刷新,上拉加载: SmartRefreshLayout
token存储: SharedPreferences

目录结构
adapter: 所有RecyclerView或ListView的适配器
bean: 主要是网络请求返回数据的实体
fragment: 子页面的fragment
listener: 两个监听器,列表(list)和详情(detail)(以接口返回的数据来区分);每个监听器定义两个方法:onSuccess,onError;有网络请求的fragment需实现list/detail监听器
model: 所有接口的model
service: 所有接口的定义,定义完给model使用
utility: 工具类,如屏幕信息,app信息,retrofit,oss等
view: 自定义view,如九宫格,圆形头像,弹窗(DialogFragment)

介绍

分享风趣幽默的段子/视频/图片

首页:视频/图片/文字 任你选择
详情:收藏/评论/点赞 雁过留声
发现:搜索/话题/活动 应有尽有
我的:收藏/评论/点赞 一个不少

截图

home.png detail.png discover.png my.png

快速开始

1.使用Android Studio打开

已打包的版本

下载链接

MIT License Copyright (c) 2021 chudaozhe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

搞笑娱乐社区-分享风趣幽默的段子/视频/图片 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/chudaozhe/xiangle-android.git
git@gitee.com:chudaozhe/xiangle-android.git
chudaozhe
xiangle-android
xiangle-android
master

搜索帮助