{"action":"created","issue":{"url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/357","repository_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout","labels_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/357/comments","events_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/357/events","html_url":"https://github.com/daimajia/AndroidSwipeLayout/issues/357","id":169346052,"number":357,"title":"Swipelayout close automatically in some device","user":{"login":"mistrydarshan99","id":5453894,"avatar_url":"https://avatars3.githubusercontent.com/u/5453894?v=3","gravatar_id":"","url":"https://api.github.com/users/mistrydarshan99","html_url":"https://github.com/mistrydarshan99","followers_url":"https://api.github.com/users/mistrydarshan99/followers","following_url":"https://api.github.com/users/mistrydarshan99/following{/other_user}","gists_url":"https://api.github.com/users/mistrydarshan99/gists{/gist_id}","starred_url":"https://api.github.com/users/mistrydarshan99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistrydarshan99/subscriptions","organizations_url":"https://api.github.com/users/mistrydarshan99/orgs","repos_url":"https://api.github.com/users/mistrydarshan99/repos","events_url":"https://api.github.com/users/mistrydarshan99/events{/privacy}","received_events_url":"https://api.github.com/users/mistrydarshan99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-08-04T10:47:48Z","updated_at":"2017-03-29T15:06:26Z","closed_at":null,"body":"Hello,\n\nI have to implement swipe layout in recyclerviewbut in some device its automatically close.So how to fix it.\n"},"comment":{"url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/comments/290119762","html_url":"https://github.com/daimajia/AndroidSwipeLayout/issues/357#issuecomment-290119762","issue_url":"https://api.github.com/repos/daimajia/AndroidSwipeLayout/issues/357","id":290119762,"user":{"login":"AnoDest","id":8578363,"avatar_url":"https://avatars1.githubusercontent.com/u/8578363?v=3","gravatar_id":"","url":"https://api.github.com/users/AnoDest","html_url":"https://github.com/AnoDest","followers_url":"https://api.github.com/users/AnoDest/followers","following_url":"https://api.github.com/users/AnoDest/following{/other_user}","gists_url":"https://api.github.com/users/AnoDest/gists{/gist_id}","starred_url":"https://api.github.com/users/AnoDest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnoDest/subscriptions","organizations_url":"https://api.github.com/users/AnoDest/orgs","repos_url":"https://api.github.com/users/AnoDest/repos","events_url":"https://api.github.com/users/AnoDest/events{/privacy}","received_events_url":"https://api.github.com/users/AnoDest/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T15:06:26Z","updated_at":"2017-03-29T15:06:26Z","body":"For me it happens all the time I update textView inside swipeLayout.\r\nIt is caused by requestLayout call.\r\nSwipeLayout doens't keep its open state after layout process.\r\nCurrently I worked around this with adding onLayoutListener with code\r\n```\r\n        if (isOpened) {\r\n            swipeLayout.open(false, false);\r\n        } else {\r\n            swipeLayout.close(false, false);\r\n        }\r\n```"}}
{"actor":{"display_login":"AnoDest"}}