-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
路由的常见问题解决(特意开这个 issue, 方便大家提 issue 之前是否能通过此 issue 的描述解决你的问题) #21
Labels
Comments
Repository owner
deleted a comment from
forwardyzk
May 8, 2020
Repository owner
deleted a comment from
dengsongnanx
May 27, 2020
Repository owner
locked as off-topic and limited conversation to collaborators
Jul 17, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
依赖失败?
gralde
文件中添加jitpakc
仓库依赖之后构建代码失败?
AndroidX
的支持,请检查你的项目是否与之对应Component
没关系模块加载失败 或者 第一个路由失败?
Application
中加载gradle
中的配置一致Application
是否配置到清单文件中跳转拿
ActivityResult
注意事项FragmentActivity
的上下文Context
或者支持包中Fragment
或者androidx
包中Fragment
, 不能省略,也就是 Router.with(xxx) 方法中的 xxx 不能省略ActivityResult
的方式,在回调或者RxJava2
的回调中会传给你ActivityResult
, 你不能让框架帮你拿的同时又自己重写Activity
的onActivityResult
方法匹配,这会导致你的代码无法匹配.两者选择用一个Dialog
等环境中还能使用此功能. 只要你给的Context
是一个FragmentActivity
或者和FragmentActivity
是有关联关系的.比如Dialog
的Context
就不是FragmentActivity
, 但是Dialog
是依赖于FragmentActivity
的, 所以这种框架也支持. 不支持Context
是一个Application
的!最后一点
提
issue
之前麻烦大家尽量贴出有用的
错误信息和详细的错误日志, 描述清楚错误的过程不要提
issue
让作者我无从下手帮您解决.最后谢谢大家相信我的组件化库,我会一直加油并且维护下去的
The text was updated successfully, but these errors were encountered: