SelfMVP
RxJava + Retrofit + MVP + Dagger2 基础框架(看完还不明白,吐槽我)
Install / Use
/learn @lihangleo2/SelfMVPREADME
RxJava + Retrofit + MVP
有可能是有史以来最细节的一次教程。博客详细教程地址
- 支持所有类型网络请求 get post put 毕竟同出一家,Retrofit最大的优势就是把所有都封装好了,但是最大的缺点也是这个,你无法随意修改
- 支持上传文件
- 支持下载文件和断点续传
- 有网络时,支持在线缓存(连接网络时的有效期)
- 断开网络,支持离线缓存(离线缓存有效期)
- 多次请求同一url,在网络还在请求时,是否只请求一次
- 支持请求失败,自动重连
友情链接
ui中再遇到阴影时,跟Ui小姐姐说,阴影部分别担心,我自己来
阴影布局,不管你是什么控件,放进阴影布局即刻享受你想要的阴影
地址:https://github.com/lihangleo2/ShadowLayout
有多种效果
一款多效果智能登录按钮,也可用于点赞动画等 地址:https://github.com/lihangleo2/SmartLoadingView
演示(最好打开权限,保证一切正常)
|get请求|post请求|上传文件|
|:---:|:---:|:---:|
|
|
|
|下载文件|
|
|
本项目是基于RxJava + Retrofit + MVP。其中封装了几乎你想要的所有功能。算是VIP版的MVP框架了!!
博客详细教程地址
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
