{"action":"created","issue":{"url":"https://api.github.com/repos/alexrainman/CarouselView/issues/19","repository_url":"https://api.github.com/repos/alexrainman/CarouselView","labels_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/19/comments","events_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/19/events","html_url":"https://github.com/alexrainman/CarouselView/issues/19","id":179023022,"number":19,"title":"Crash in Android","user":{"login":"rotorgames","id":1790504,"avatar_url":"https://avatars.githubusercontent.com/u/1790504?v=3","gravatar_id":"","url":"https://api.github.com/users/rotorgames","html_url":"https://github.com/rotorgames","followers_url":"https://api.github.com/users/rotorgames/followers","following_url":"https://api.github.com/users/rotorgames/following{/other_user}","gists_url":"https://api.github.com/users/rotorgames/gists{/gist_id}","starred_url":"https://api.github.com/users/rotorgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotorgames/subscriptions","organizations_url":"https://api.github.com/users/rotorgames/orgs","repos_url":"https://api.github.com/users/rotorgames/repos","events_url":"https://api.github.com/users/rotorgames/events{/privacy}","received_events_url":"https://api.github.com/users/rotorgames/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-24T10:16:02Z","updated_at":"2016-09-27T05:02:59Z","closed_at":null,"body":"Hi. Thank you for awesome plugin but I have a problem with it.\r\n\r\nI have error in Android when I added CarouselView in layout.\r\n\r\nXamarin.VS 4.2.0.680\r\nXamarin.Forms to 2.3.2.127\r\nAndroid 6.0\r\n\r\nP.S. Crash is only if I use nuget package in my project. When I deploy your demo project that all working.\r\n\r\n```xml\r\n<abstractions:CarouselViewControl  Position=\"0\" ItemsSource=\"{Binding MyList}\" VerticalOptions=\"FillAndExpand\" HorizontalOptions=\"FillAndExpand\">\r\n  <abstractions:CarouselViewControl.ItemTemplate>\r\n    <DataTemplate>\r\n      <Label Text=\"{Binding .}\"/>\r\n     </DataTemplate>\r\n   </abstractions:CarouselViewControl.ItemTemplate>\r\n</abstractions:CarouselViewControl>\r\n```\r\n\r\n```\r\nXamarin caused by: android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object\r\nCarouselView.FormsPlugin.Android.CarouselViewRenderer.PageAdapter.get_Count()<97300517a1ad4a16ac0373801a18c8e2>:0\r\nAndroid.Support.V4.View.PagerAdapter.n_GetCount(IntPtr jnienv, IntPtr native__this)<27c17fe440cf491ba8255bcefade6e02>:0\r\nat (wrapper dynamic-method) System.Object:06516622-6b02-4513-bdaa-c681ca0d2685 (intptr,intptr)\r\nmd5fa3be16b83ce3acd3be83265686c14de.CarouselViewRenderer_PageAdapter.n_getCount(Native Method)\r\nmd5fa3be16b83ce3acd3be83265686c14de.CarouselViewRenderer_PageAdapter.getCount()CarouselViewRenderer_PageAdapter.java:33\r\nandroid.support.v4.view.ViewPager.setAdapter()ViewPager.java:495\r\nmono.java.lang.RunnableImplementor.n_run(Native Method)\r\nmono.java.lang.RunnableImplementor.run()RunnableImplementor.java:30\r\nandroid.os.Handler.handleCallback()Handler.java:739\r\nandroid.os.Handler.dispatchMessage()Handler.java:95\r\nandroid.os.Looper.loop()Looper.java:148\r\nandroid.app.ActivityThread.main()ActivityThread.java:5417\r\njava.lang.reflect.Method.invoke(Native Method)\r\ncom.android.internal.os.ZygoteInit$MethodAndArgsCaller.run()ZygoteInit.java:726\r\ncom.android.internal.os.ZygoteInit.main()ZygoteInit.java:616\r\n```"},"comment":{"url":"https://api.github.com/repos/alexrainman/CarouselView/issues/comments/249767017","html_url":"https://github.com/alexrainman/CarouselView/issues/19#issuecomment-249767017","issue_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/19","id":249767017,"user":{"login":"alexrainman","id":3793554,"avatar_url":"https://avatars.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":"2016-09-27T05:02:59Z","updated_at":"2016-09-27T05:02:59Z","body":"I know those are extra files but, what real problem you have with them?"}}
{"actor":{"display_login":"alexrainman"}}