{"action":"opened","issue":{"url":"https://api.github.com/repos/BCsl/GalleryLayoutManager/issues/16","repository_url":"https://api.github.com/repos/BCsl/GalleryLayoutManager","labels_url":"https://api.github.com/repos/BCsl/GalleryLayoutManager/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/BCsl/GalleryLayoutManager/issues/16/comments","events_url":"https://api.github.com/repos/BCsl/GalleryLayoutManager/issues/16/events","html_url":"https://github.com/BCsl/GalleryLayoutManager/issues/16","id":315743838,"number":16,"title":"使用GalleryLayoutManager之后item显示不出来","user":{"login":"tx123456","id":14331075,"avatar_url":"https://avatars1.githubusercontent.com/u/14331075?v=4","gravatar_id":"","url":"https://api.github.com/users/tx123456","html_url":"https://github.com/tx123456","followers_url":"https://api.github.com/users/tx123456/followers","following_url":"https://api.github.com/users/tx123456/following{/other_user}","gists_url":"https://api.github.com/users/tx123456/gists{/gist_id}","starred_url":"https://api.github.com/users/tx123456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tx123456/subscriptions","organizations_url":"https://api.github.com/users/tx123456/orgs","repos_url":"https://api.github.com/users/tx123456/repos","events_url":"https://api.github.com/users/tx123456/events{/privacy}","received_events_url":"https://api.github.com/users/tx123456/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-19T06:31:32Z","updated_at":"2018-04-19T06:31:32Z","closed_at":null,"author_association":"NONE","body":"这是我的代码\r\n List<String> lisr = new ArrayList<>();\r\n        for (int i = 0; i <20 ; i++) {\r\n            lisr.add(\"item\"+i);\r\n        }\r\n        adapter = new NoticeBannerAdapter(lisr);\r\n        new GalleryLayoutManager(GalleryLayoutManager.HORIZONTAL).attach(recycleBanner);\r\n        recycleBanner.setAdapter(adapter);\r\n\r\n下面是打印出来的日志\r\n\r\nD/GalleryLayoutManager: onLayoutChildren() called with: state = [State{mTargetPosition=-1, mData=null, mItemCount=20, mIsMeasuring=false, mPreviousLayoutItemCount=0, mDeletedInvisibleItemCountSincePreviousLayout=0, mStructureChanged=true, mInPreLayout=false, mRunSimpleAnimations=false, mRunPredictiveAnimations=false}]\r\n                        reset: \r\nD/GalleryLayoutManager: firstFillCover finish:first: 0,last:0\r\nV/GalleryLayoutManager: onScrolled: dx:0,dy:0\r\n                        onScrolled: dx:0,dy:0\r\nD/GalleryLayoutManager: onLayoutChildren() called with: state = [State{mTargetPosition=-1, mData=null, mItemCount=20, mIsMeasuring=false, mPreviousLayoutItemCount=20, mDeletedInvisibleItemCountSincePreviousLayout=0, mStructureChanged=false, mInPreLayout=false, mRunSimpleAnimations=false, mRunPredictiveAnimations=false}]\r\n                        onLayoutChildren: ignore extra layout step\r\nD/OpenGLRenderer: endAllActiveAnimators on 0x7f7c70c000 (RippleDrawable) with handle 0x7f7decc840\r\n\r\n请问下我是不是哪里写的有点问题，我把这些代码复制到一个新开的项目，能显示，然后在自己项目中引用就显示不出来，我看打印出来的日志mItemCount是有20条的。\r\n"}}
{"actor":{"display_login":"tx123456"}}