We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
崩溃路径:
fragment 初始化代码
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) webView.loadUrl(SolarUrl.getMallYouzanStoreUrl()) webView.subscribe(object : AbsAuthEvent() { override fun call(context: Context?, needLogin: Boolean) { if (needLogin && !UserManager.getInstance().isUserLogin) { LoginManager.builder().loginSuccessRouter(object : ILoginSuccessRouter { override fun onLoginSuccess(activity: Activity) { requestYouzanCookie(context) } }).loginCloseRouter(object : ILoginCloseRouter { override fun onLoginClose(activity: Activity) { webView.syncNot() } }) } else { requestYouzanCookie(context) } } private fun requestYouzanCookie(context: Context?) { val token = YouzanToken() token.accessToken = "接口返回的access_token" token.cookieKey = "接口返回的cookie_key" token.cookieValue = "接口返回的cookie_value" YouzanSDK.sync(context!!, token) webView.sync(token) } }) }
The text was updated successfully, but these errors were encountered:
@foxapple 你本地 Gradle 缓存有 7.0 的包吗?能发给我一下吗
Sorry, something went wrong.
No branches or pull requests
崩溃路径:
fragment 初始化代码
The text was updated successfully, but these errors were encountered: