本项目支持Mock服务模拟请求 #195
liangjingkanji
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如果相关issues需要反馈可以使用模拟请求演示问题
使用本地Mock服务模拟网络请求:
MockDispatcher
MockDispatcher#dispatch
分发请求路径MockDispatcher#getRawResponse
返回Row资源内容, 例如JSON自定义属于你的数据
R.raw.user
Beta Was this translation helpful? Give feedback.
All reactions