{"action":"created","issue":{"url":"https://api.github.com/repos/Aspsine/SwipeToLoadLayout/issues/90","repository_url":"https://api.github.com/repos/Aspsine/SwipeToLoadLayout","labels_url":"https://api.github.com/repos/Aspsine/SwipeToLoadLayout/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/Aspsine/SwipeToLoadLayout/issues/90/comments","events_url":"https://api.github.com/repos/Aspsine/SwipeToLoadLayout/issues/90/events","html_url":"https://github.com/Aspsine/SwipeToLoadLayout/issues/90","id":189018154,"number":90,"title":"在fragment里面套用RecyclerView数据不显示","user":{"login":"zengcanxiang","id":16033497,"avatar_url":"https://avatars.githubusercontent.com/u/16033497?v=3","gravatar_id":"","url":"https://api.github.com/users/zengcanxiang","html_url":"https://github.com/zengcanxiang","followers_url":"https://api.github.com/users/zengcanxiang/followers","following_url":"https://api.github.com/users/zengcanxiang/following{/other_user}","gists_url":"https://api.github.com/users/zengcanxiang/gists{/gist_id}","starred_url":"https://api.github.com/users/zengcanxiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zengcanxiang/subscriptions","organizations_url":"https://api.github.com/users/zengcanxiang/orgs","repos_url":"https://api.github.com/users/zengcanxiang/repos","events_url":"https://api.github.com/users/zengcanxiang/events{/privacy}","received_events_url":"https://api.github.com/users/zengcanxiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-14T02:55:00Z","updated_at":"2016-11-14T04:51:21Z","closed_at":null,"body":"很是奇怪，我在两个fragment里面使用，然后一个可以显示列表加载的数据，一个不显示，更不用说下拉了。\r\n他们之间的区别就是一个布局就只有SwipeToLoadLayout,一个除了SwipeToLoadLayout之外还有很多,并且是通过权重来布局的。但是删除SwipeToLoadLayout就可以显示. \r\n我怕是我没写好，在同级下，新增了一个fragment的(就是很常见的4个fragment切换,是通过hide和show).\r\n发现本来第一个是显示的，切换到第2个不显示，然后切换回第一个，原来的adapter不显示了，显示了第2个的adapter.\r\n于是，我就测试，把第一个界面的代码全部隐藏，购物车布局和代码没有做任何修改。然后就可以显示了.\r\n是我使用的时候，哪里不对么？\r\n还是因为swipe_target这种设置不能这样写呢？或者是需要进行什么处理？\r\n因为我阅读demo的时候，都是viewpager+fragment。不是同级的fragment通过hide和show切换"},"comment":{"url":"https://api.github.com/repos/Aspsine/SwipeToLoadLayout/issues/comments/260248090","html_url":"https://github.com/Aspsine/SwipeToLoadLayout/issues/90#issuecomment-260248090","issue_url":"https://api.github.com/repos/Aspsine/SwipeToLoadLayout/issues/90","id":260248090,"user":{"login":"zengcanxiang","id":16033497,"avatar_url":"https://avatars.githubusercontent.com/u/16033497?v=3","gravatar_id":"","url":"https://api.github.com/users/zengcanxiang","html_url":"https://github.com/zengcanxiang","followers_url":"https://api.github.com/users/zengcanxiang/followers","following_url":"https://api.github.com/users/zengcanxiang/following{/other_user}","gists_url":"https://api.github.com/users/zengcanxiang/gists{/gist_id}","starred_url":"https://api.github.com/users/zengcanxiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zengcanxiang/subscriptions","organizations_url":"https://api.github.com/users/zengcanxiang/orgs","repos_url":"https://api.github.com/users/zengcanxiang/repos","events_url":"https://api.github.com/users/zengcanxiang/events{/privacy}","received_events_url":"https://api.github.com/users/zengcanxiang/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T04:51:21Z","updated_at":"2016-11-14T04:51:21Z","body":"但是我发现，我这个一个fragment设置的刷新，会让另一个fragment里面的swipeToLoadLayout触发，本身的却是触发不了下拉事件.\r\n而且两边的数据都已经显示了，mTargetView也不一样"}}
{"actor":{"display_login":"zengcanxiang"}}