{"action":"created","issue":{"url":"https://api.github.com/repos/alexrainman/CarouselView/issues/78","repository_url":"https://api.github.com/repos/alexrainman/CarouselView","labels_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/78/comments","events_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/78/events","html_url":"https://github.com/alexrainman/CarouselView/issues/78","id":216090366,"number":78,"title":"Call to DataTemplateSelector.OnSelectTemplate happend multiple times on Android","user":{"login":"rinoandrejohnsen","id":435798,"avatar_url":"https://avatars0.githubusercontent.com/u/435798?v=3","gravatar_id":"","url":"https://api.github.com/users/rinoandrejohnsen","html_url":"https://github.com/rinoandrejohnsen","followers_url":"https://api.github.com/users/rinoandrejohnsen/followers","following_url":"https://api.github.com/users/rinoandrejohnsen/following{/other_user}","gists_url":"https://api.github.com/users/rinoandrejohnsen/gists{/gist_id}","starred_url":"https://api.github.com/users/rinoandrejohnsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinoandrejohnsen/subscriptions","organizations_url":"https://api.github.com/users/rinoandrejohnsen/orgs","repos_url":"https://api.github.com/users/rinoandrejohnsen/repos","events_url":"https://api.github.com/users/rinoandrejohnsen/events{/privacy}","received_events_url":"https://api.github.com/users/rinoandrejohnsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-03-22T14:49:49Z","updated_at":"2017-03-22T19:23:27Z","closed_at":null,"body":"When using a CarouselView cross platform the behavior is different. When using it for UWP the expected behavior occurs when on slides programmatically(add Page, Position++, remove previous page). The DataTemplateSelector.OnSelectTemplate is only called once.\r\n\r\nOn Android this seems to be different. It works as expected up to \"add Page, Position++\", but when removing a page DataTemplateSelector.OnSelectTemplate is called a second time and then one ends with two Pages in the CarouselView."},"comment":{"url":"https://api.github.com/repos/alexrainman/CarouselView/issues/comments/288511089","html_url":"https://github.com/alexrainman/CarouselView/issues/78#issuecomment-288511089","issue_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/78","id":288511089,"user":{"login":"alexrainman","id":3793554,"avatar_url":"https://avatars0.githubusercontent.com/u/3793554?v=3","gravatar_id":"","url":"https://api.github.com/users/alexrainman","html_url":"https://github.com/alexrainman","followers_url":"https://api.github.com/users/alexrainman/followers","following_url":"https://api.github.com/users/alexrainman/following{/other_user}","gists_url":"https://api.github.com/users/alexrainman/gists{/gist_id}","starred_url":"https://api.github.com/users/alexrainman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexrainman/subscriptions","organizations_url":"https://api.github.com/users/alexrainman/orgs","repos_url":"https://api.github.com/users/alexrainman/repos","events_url":"https://api.github.com/users/alexrainman/events{/privacy}","received_events_url":"https://api.github.com/users/alexrainman/received_events","type":"User","site_admin":false},"created_at":"2017-03-22T19:23:27Z","updated_at":"2017-03-22T19:23:27Z","body":"Pls, try the code i just shared. Its the only way to have only one page at the time."}}
{"actor":{"display_login":"alexrainman"}}