1 Star 1 Fork 2

weicui / xiangle-android

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
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.

About

搞笑娱乐社区-分享风趣幽默的段子/视频/图片 expand collapse
Java
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chudaozhe/xiangle-android.git
git@gitee.com:chudaozhe/xiangle-android.git
chudaozhe
xiangle-android
xiangle-android
master

Search

344bd9b3 5694891 D2dac590 5694891