{"action":"created","issue":{"url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.pullToRefresh/issues/43","labels_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.pullToRefresh/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.pullToRefresh/issues/43/comments","events_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.pullToRefresh/issues/43/events","html_url":"https://github.com/FokkeZB/nl.fokkezb.pullToRefresh/issues/43","id":85077697,"number":43,"title":"Android app crashes ","user":{"login":"gildebrand","id":2266587,"avatar_url":"https://avatars.githubusercontent.com/u/2266587?v=3","gravatar_id":"","url":"https://api.github.com/users/gildebrand","html_url":"https://github.com/gildebrand","followers_url":"https://api.github.com/users/gildebrand/followers","following_url":"https://api.github.com/users/gildebrand/following{/other_user}","gists_url":"https://api.github.com/users/gildebrand/gists{/gist_id}","starred_url":"https://api.github.com/users/gildebrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildebrand/subscriptions","organizations_url":"https://api.github.com/users/gildebrand/orgs","repos_url":"https://api.github.com/users/gildebrand/repos","events_url":"https://api.github.com/users/gildebrand/events{/privacy}","received_events_url":"https://api.github.com/users/gildebrand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T12:35:53Z","updated_at":"2015-07-01T14:58:46Z","closed_at":null,"body":"My android app that uses this pullToRefresh widget crashes after clicking around in the app a couple of times. This issue seems to originate from the `com.rkam.swiperefreshlayout` module, which is discussed here: https://github.com/raymondkam/Ti.SwipeRefreshLayout/issues/5\r\n\r\nTi version is 3.5.1. How can I solve this?\r\n\r\n\tE/AndroidRuntime(21815): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.\r\n\tE/AndroidRuntime(21815):    at android.view.ViewGroup.addViewInner(ViewGroup.java:3759)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewGroup.addView(ViewGroup.java:3612)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewGroup.addView(ViewGroup.java:3557)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewGroup.addView(ViewGroup.java:3533)\r\n\tE/AndroidRuntime(21815):    at com.rkam.swiperefreshlayout.SwipeRefresh.processProperties(SwipeRefresh.java:68)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1209)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:500)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)\r\n\tE/AndroidRuntime(21815):    at ti.modules.titanium.ui.widget.TiUIScrollableView$ViewPagerAdapter.instantiateItem(TiUIScrollableView.java:516)\r\n\tE/AndroidRuntime(21815):    at android.support.v4.view.PagerAdapter.instantiateItem(PagerAdapter.java:110)\r\n\tE/AndroidRuntime(21815):    at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:832)\r\n\tE/AndroidRuntime(21815):    at android.support.v4.view.ViewPager.populate(ViewPager.java:982)\r\n\tE/AndroidRuntime(21815):    at android.support.v4.view.ViewPager.populate(ViewPager.java:914)\r\n\tE/AndroidRuntime(21815):    at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1436)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.constrainChild(TiCompositeLayout.java:398)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.onMeasure(TiCompositeLayout.java:278)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.constrainChild(TiCompositeLayout.java:398)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.onMeasure(TiCompositeLayout.java:278)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.constrainChild(TiCompositeLayout.java:398)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.onMeasure(TiCompositeLayout.java:278)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1451)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.constrainChild(TiCompositeLayout.java:398)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.onMeasure(TiCompositeLayout.java:278)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.constrainChild(TiCompositeLayout.java:398)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.onMeasure(TiCompositeLayout.java:278)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.constrainChild(TiCompositeLayout.java:398)\r\n\tE/AndroidRuntime(21815):    at org.appcelerator.titanium.view.TiCompositeLayout.onMeasure(TiCompositeLayout.java:278)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5352)\r\n\tE/AndroidRuntime(21815):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at android.widget.LinearLayout.measureVertical(LinearLayout.java:847)\r\n\tE/AndroidRuntime(21815):    at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5352)\r\n\tE/AndroidRuntime(21815):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)\r\n\tE/AndroidRuntime(21815):    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2533)\r\n\tE/AndroidRuntime(21815):    at android.view.View.measure(View.java:17387)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2213)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1352)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1549)\r\n\tE/AndroidRuntime(21815):    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1236)\r\n\tE/AndroidRuntime(21815):    at an\r\n\tW/ActivityManager(  819):   Force finishing activity nu.kodfabriken.ourapp/org.appcelerator.titanium.TiActivity"},"comment":{"url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.pullToRefresh/issues/comments/117708401","html_url":"https://github.com/FokkeZB/nl.fokkezb.pullToRefresh/issues/43#issuecomment-117708401","issue_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.pullToRefresh/issues/43","id":117708401,"user":{"login":"tlenclos","id":686101,"avatar_url":"https://avatars.githubusercontent.com/u/686101?v=3","gravatar_id":"","url":"https://api.github.com/users/tlenclos","html_url":"https://github.com/tlenclos","followers_url":"https://api.github.com/users/tlenclos/followers","following_url":"https://api.github.com/users/tlenclos/following{/other_user}","gists_url":"https://api.github.com/users/tlenclos/gists{/gist_id}","starred_url":"https://api.github.com/users/tlenclos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlenclos/subscriptions","organizations_url":"https://api.github.com/users/tlenclos/orgs","repos_url":"https://api.github.com/users/tlenclos/repos","events_url":"https://api.github.com/users/tlenclos/events{/privacy}","received_events_url":"https://api.github.com/users/tlenclos/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T14:58:46Z","updated_at":"2015-07-01T14:58:46Z","body":"Got the same error, is this related to https://github.com/raymondkam/Ti.SwipeRefreshLayout/issues/5 ?"}}