{"action":"closed","issue":{"url":"https://api.github.com/repos/alexrainman/SegmentedControl/issues/23","repository_url":"https://api.github.com/repos/alexrainman/SegmentedControl","labels_url":"https://api.github.com/repos/alexrainman/SegmentedControl/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/alexrainman/SegmentedControl/issues/23/comments","events_url":"https://api.github.com/repos/alexrainman/SegmentedControl/issues/23/events","html_url":"https://github.com/alexrainman/SegmentedControl/issues/23","id":199617991,"number":23,"title":"SegmentedControlOption are getting duplicated on android rotation (ViewCell inside a ListView)","user":{"login":"julesx","id":3010047,"avatar_url":"https://avatars0.githubusercontent.com/u/3010047?v=3","gravatar_id":"","url":"https://api.github.com/users/julesx","html_url":"https://github.com/julesx","followers_url":"https://api.github.com/users/julesx/followers","following_url":"https://api.github.com/users/julesx/following{/other_user}","gists_url":"https://api.github.com/users/julesx/gists{/gist_id}","starred_url":"https://api.github.com/users/julesx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julesx/subscriptions","organizations_url":"https://api.github.com/users/julesx/orgs","repos_url":"https://api.github.com/users/julesx/repos","events_url":"https://api.github.com/users/julesx/events{/privacy}","received_events_url":"https://api.github.com/users/julesx/received_events","type":"User","site_admin":false},"labels":[{"id":416007983,"url":"https://api.github.com/repos/alexrainman/SegmentedControl/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-09T17:53:44Z","updated_at":"2017-05-05T22:55:42Z","closed_at":"2017-05-05T22:55:42Z","body":"If you put a SegmentedControl into a `ViewCell` which is part of a `ListView`, and then rotate the device, the `SegmentedControlOption`s are once again added to the control, causing a duplication.  Rotating the device again repeats the behavior indefinitely.\r\n\r\nIt seems like the OnElementChanged method is getting re-triggered incorrectly.  There is no issue on iOS, only Android."}}
{"actor":{"display_login":"alexrainman"}}