{"action":"opened","issue":{"url":"https://api.github.com/repos/jianghejie/XRecyclerView/issues/127","repository_url":"https://api.github.com/repos/jianghejie/XRecyclerView","labels_url":"https://api.github.com/repos/jianghejie/XRecyclerView/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/jianghejie/XRecyclerView/issues/127/comments","events_url":"https://api.github.com/repos/jianghejie/XRecyclerView/issues/127/events","html_url":"https://github.com/jianghejie/XRecyclerView/issues/127","id":177942315,"number":127,"title":"自动刷新，setRefreshing(true) 不起作用","user":{"login":"Freedomhxb","id":13981420,"avatar_url":"https://avatars.githubusercontent.com/u/13981420?v=3","gravatar_id":"","url":"https://api.github.com/users/Freedomhxb","html_url":"https://github.com/Freedomhxb","followers_url":"https://api.github.com/users/Freedomhxb/followers","following_url":"https://api.github.com/users/Freedomhxb/following{/other_user}","gists_url":"https://api.github.com/users/Freedomhxb/gists{/gist_id}","starred_url":"https://api.github.com/users/Freedomhxb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freedomhxb/subscriptions","organizations_url":"https://api.github.com/users/Freedomhxb/orgs","repos_url":"https://api.github.com/users/Freedomhxb/repos","events_url":"https://api.github.com/users/Freedomhxb/events{/privacy}","received_events_url":"https://api.github.com/users/Freedomhxb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-20T01:45:38Z","updated_at":"2016-09-20T01:45:38Z","closed_at":null,"body":"在demo中的LinearActivity中，给header添加点击事件，点击后让recycleview进行刷新，\r\n即\r\n header.setOnClickListener(new View.OnClickListener() {\r\n            @Override\r\n            public void onClick(View v) {\r\n\r\n                mRecyclerView.setRefreshing(true);\r\n            }\r\n        });\r\n点击完成后，recycleview并不会执行自动刷新的动画，但是还是会走onRefresh()的方法，我找了下原因，发现在\r\n mRefreshHeader.onMove(mRefreshHeader.getMeasuredHeight()) 方法中\r\n\r\nmRefreshHeader.getMeasuredHeight()，测量的高度为0。这个怎么解决呢？\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"Freedomhxb"}}