{"action":"created","issue":{"url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus/issues/11","repository_url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus","labels_url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus/issues/11/comments","events_url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus/issues/11/events","html_url":"https://github.com/kaedea/Android-Cloud-TagView-Plus/issues/11","id":145910426,"number":11,"title":"TagView is not initiated or not display and also get overlap","user":{"login":"ShreyashPromact","id":8598335,"avatar_url":"https://avatars.githubusercontent.com/u/8598335?v=3","gravatar_id":"","url":"https://api.github.com/users/ShreyashPromact","html_url":"https://github.com/ShreyashPromact","followers_url":"https://api.github.com/users/ShreyashPromact/followers","following_url":"https://api.github.com/users/ShreyashPromact/following{/other_user}","gists_url":"https://api.github.com/users/ShreyashPromact/gists{/gist_id}","starred_url":"https://api.github.com/users/ShreyashPromact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShreyashPromact/subscriptions","organizations_url":"https://api.github.com/users/ShreyashPromact/orgs","repos_url":"https://api.github.com/users/ShreyashPromact/repos","events_url":"https://api.github.com/users/ShreyashPromact/events{/privacy}","received_events_url":"https://api.github.com/users/ShreyashPromact/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-05T07:13:50Z","updated_at":"2016-04-08T01:33:30Z","closed_at":null,"body":"I have added tagview to my recyclerview's footer. I am facing issue like, when I scroll to down. initially tags that is in the footer is not going to display. But then I scroll a little bit to up direction and again come back to footer, it show me the tags. I dont know where is the issue.\r\n\r\nI am adding tags as mention below:\r\n```\r\nfor(int i = 0; i < mStory.getTags().size(); i++) {\r\n                footerHolder.tagView.removeAllTags();\r\n                Tag tag = new Tag(mStory.getTags().get(i).getName());\r\n                tag.layoutBorderSize = 2f;\r\n                tag.layoutBorderColor = ContextCompat.getColor(mContext\r\n                        , R.color.my_theme_primary);\r\n                tag.tagTextColor = ContextCompat.getColor(mContext\r\n                        , R.color.my_theme_primary_text);\r\n                tag.background = ContextCompat.getDrawable(mContext,R.drawable.bg_tag);\r\n                footerHolder.tagView.addTag(tag);\r\n            }\r\n\r\n            footerHolder.tagView.setOnTagClickListener(new OnTagClickListener() {\r\n                @Override\r\n                public void onTagClick(Tag tag, int position) {\r\n                    Toast.makeText(mContext, \"position=\" + position,\r\n                            Toast.LENGTH_SHORT).show();\r\n                }\r\n            });\r\n\r\n```\r\nMy code is proper in footer because other view that I have mention in footer looks fine with even initial scrolling. But Tags is not getting displayed when scroll initial.\r\n\r\nPlease share solution to that with me.\r\n"},"comment":{"url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus/issues/comments/207163324","html_url":"https://github.com/kaedea/Android-Cloud-TagView-Plus/issues/11#issuecomment-207163324","issue_url":"https://api.github.com/repos/kaedea/Android-Cloud-TagView-Plus/issues/11","id":207163324,"user":{"login":"kaedea","id":3963397,"avatar_url":"https://avatars.githubusercontent.com/u/3963397?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedea","html_url":"https://github.com/kaedea","followers_url":"https://api.github.com/users/kaedea/followers","following_url":"https://api.github.com/users/kaedea/following{/other_user}","gists_url":"https://api.github.com/users/kaedea/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedea/subscriptions","organizations_url":"https://api.github.com/users/kaedea/orgs","repos_url":"https://api.github.com/users/kaedea/repos","events_url":"https://api.github.com/users/kaedea/events{/privacy}","received_events_url":"https://api.github.com/users/kaedea/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T01:33:30Z","updated_at":"2016-04-08T01:33:30Z","body":"Hey, SP.\r\nThis bug is because the value of **mWidth** in the `TagView.java` is not set correctly in the first time you scroll to bottom. You can just set a coustom value (e.x. screen width) to mWidth in the init of TagView."}}