{"action":"created","issue":{"url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/14","labels_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/14/comments","events_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/14/events","html_url":"https://github.com/bboyfeiyu/AndroidEventBus/issues/14","id":83416717,"number":14,"title":"1.04版本unregister()方法的问题","user":{"login":"zijianwang90","id":11004434,"avatar_url":"https://avatars.githubusercontent.com/u/11004434?v=3","gravatar_id":"","url":"https://api.github.com/users/zijianwang90","html_url":"https://github.com/zijianwang90","followers_url":"https://api.github.com/users/zijianwang90/followers","following_url":"https://api.github.com/users/zijianwang90/following{/other_user}","gists_url":"https://api.github.com/users/zijianwang90/gists{/gist_id}","starred_url":"https://api.github.com/users/zijianwang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zijianwang90/subscriptions","organizations_url":"https://api.github.com/users/zijianwang90/orgs","repos_url":"https://api.github.com/users/zijianwang90/repos","events_url":"https://api.github.com/users/zijianwang90/events{/privacy}","received_events_url":"https://api.github.com/users/zijianwang90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-01T10:02:40Z","updated_at":"2015-06-01T12:47:09Z","closed_at":null,"body":"我今天把AndroidEventBus升级到1.0.4，完后在处理一个fragment的时候，只要一切出这个fragment，再回来，所有的Subscriber就接收不到信息了，不切出就没事儿。\r\n\r\n此时我是在onDestroy中调用unregister的，但我看这个方法过时，我就把它删除掉了，结果前面的问题就好了，怎么切换Fragment，也不会影响方法的调用了。\r\n\r\n所以我想问的是，现在既然unregister过时了，以后应该用什么替代，还是就根本不用调用了？"},"comment":{"url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/comments/107428781","html_url":"https://github.com/bboyfeiyu/AndroidEventBus/issues/14#issuecomment-107428781","issue_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/14","id":107428781,"user":{"login":"bboyfeiyu","id":1683811,"avatar_url":"https://avatars.githubusercontent.com/u/1683811?v=3","gravatar_id":"","url":"https://api.github.com/users/bboyfeiyu","html_url":"https://github.com/bboyfeiyu","followers_url":"https://api.github.com/users/bboyfeiyu/followers","following_url":"https://api.github.com/users/bboyfeiyu/following{/other_user}","gists_url":"https://api.github.com/users/bboyfeiyu/gists{/gist_id}","starred_url":"https://api.github.com/users/bboyfeiyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboyfeiyu/subscriptions","organizations_url":"https://api.github.com/users/bboyfeiyu/orgs","repos_url":"https://api.github.com/users/bboyfeiyu/repos","events_url":"https://api.github.com/users/bboyfeiyu/events{/privacy}","received_events_url":"https://api.github.com/users/bboyfeiyu/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T12:47:09Z","updated_at":"2015-06-01T12:47:09Z","body":"不需要调用unregister。你用在公司产品上吗？\n\n\nFrom Meizu MX4\n\n-------- Original message --------\nSender: Zijian Wang <notifications@github.com>\nTime: Mon 6/1 18:02\nTo: bboyfeiyu/AndroidEventBus <AndroidEventBus@noreply.github.com>\n Subject: [AndroidEventBus] 1.04版本unregister()方法的问题 (#14)\n\n>我今天把AndroidEventBus升级到1.0.4，完后在处理一个fragment的时候，只要一切出这个fragment，再回来，所有的Subscriber就接收不到信息了，不切出就没事儿。\n>\n>此时我是在onDestroy中调用unregister的，但我看这个方法过时，我就把它删除掉了，结果前面的问题就好了，怎么切换Fragment，也不会影响方法的调用了。\n>\n>所以我想问的是，现在既然unregister过时了，以后应该用什么替代，还是就根本不用调用了？\n>\n>---\n>Reply to this email directly or view it on GitHub:\n>https://github.com/bboyfeiyu/AndroidEventBus/issues/14"}}