{"action":"created","issue":{"url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/585","repository_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper","labels_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/585/comments","events_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/585/events","html_url":"https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/585","id":193340918,"number":585,"title":"addHeaderView添加头部后 addData()出现问题","user":{"login":"psv100","id":22876754,"avatar_url":"https://avatars.githubusercontent.com/u/22876754?v=3","gravatar_id":"","url":"https://api.github.com/users/psv100","html_url":"https://github.com/psv100","followers_url":"https://api.github.com/users/psv100/followers","following_url":"https://api.github.com/users/psv100/following{/other_user}","gists_url":"https://api.github.com/users/psv100/gists{/gist_id}","starred_url":"https://api.github.com/users/psv100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psv100/subscriptions","organizations_url":"https://api.github.com/users/psv100/orgs","repos_url":"https://api.github.com/users/psv100/repos","events_url":"https://api.github.com/users/psv100/events{/privacy}","received_events_url":"https://api.github.com/users/psv100/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-04T09:19:21Z","updated_at":"2016-12-05T10:06:17Z","closed_at":"2016-12-05T05:16:51Z","body":"  不添加头部的时候， addData()不会出现问题；\r\n  当添加了头部之后，问题来了，形象的说: 如果有一条新的数据要addData，就会发现新item展现的信息实际是旧数据的最后一条；  再添加新数据，item会在倒数第二（就是实际是旧数据的item上面）插入。将RecyclerView拉到底端然后添加新数据时一定出现这种情况。"},"comment":{"url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/comments/264813808","html_url":"https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/585#issuecomment-264813808","issue_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/585","id":264813808,"user":{"login":"psv100","id":22876754,"avatar_url":"https://avatars.githubusercontent.com/u/22876754?v=3","gravatar_id":"","url":"https://api.github.com/users/psv100","html_url":"https://github.com/psv100","followers_url":"https://api.github.com/users/psv100/followers","following_url":"https://api.github.com/users/psv100/following{/other_user}","gists_url":"https://api.github.com/users/psv100/gists{/gist_id}","starred_url":"https://api.github.com/users/psv100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psv100/subscriptions","organizations_url":"https://api.github.com/users/psv100/orgs","repos_url":"https://api.github.com/users/psv100/repos","events_url":"https://api.github.com/users/psv100/events{/privacy}","received_events_url":"https://api.github.com/users/psv100/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T10:06:17Z","updated_at":"2016-12-05T10:06:17Z","body":"暂时更新到2.5.0，2.6新的加载还没琢磨透。现在那个问题还是存在，暂时用 数据源添加新数据，然后setNewData的办法了，这样不会出现上面的情况。弄懂之后更新到2.6我再试试 @CymChad "}}
{"actor":{"display_login":"psv100"}}