Skip to content
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

加上 GsonParamConverter之后, 获取组件化的fragment就会超时。 #102

Open
andych008 opened this issue Feb 8, 2019 · 2 comments

Comments

@andych008
Copy link

如题。有没有人也遇到这样的情况?所以我暂时把GsonParamConverter(从demo里copy出来的)删掉,传递的参数都implements Serializable来序列化。

@Ccixyj
Copy link
Contributor

Ccixyj commented Jan 9, 2020

会有这样的问题。debug调用gson就报错了

@Ccixyj
Copy link
Contributor

Ccixyj commented Jan 9, 2020

如果只是debug mdoe出的问题。可以参考下面的

  if(CC.isDebugMode()){
         return  instance.toString()
     }
  val ret = gson.toJson(instance)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants