{"action":"created","issue":{"url":"https://api.github.com/repos/TechFreak/WizardPager/issues/14","repository_url":"https://api.github.com/repos/TechFreak/WizardPager","labels_url":"https://api.github.com/repos/TechFreak/WizardPager/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/TechFreak/WizardPager/issues/14/comments","events_url":"https://api.github.com/repos/TechFreak/WizardPager/issues/14/events","html_url":"https://github.com/TechFreak/WizardPager/issues/14","id":111112913,"number":14,"title":"java.lang.IllegalStateException: Recursive entry to executePendingTransactions when swap between branches","user":{"login":"tonyshkurenko","id":8597964,"avatar_url":"https://avatars.githubusercontent.com/u/8597964?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyshkurenko","html_url":"https://github.com/tonyshkurenko","followers_url":"https://api.github.com/users/tonyshkurenko/followers","following_url":"https://api.github.com/users/tonyshkurenko/following{/other_user}","gists_url":"https://api.github.com/users/tonyshkurenko/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyshkurenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyshkurenko/subscriptions","organizations_url":"https://api.github.com/users/tonyshkurenko/orgs","repos_url":"https://api.github.com/users/tonyshkurenko/repos","events_url":"https://api.github.com/users/tonyshkurenko/events{/privacy}","received_events_url":"https://api.github.com/users/tonyshkurenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-13T06:15:11Z","updated_at":"2016-04-13T06:10:35Z","closed_at":null,"body":"I'm trying to implement this library by changing the sample. Currently I just changed WizardModel but didn't touch anything in `MainActivity`. I get an exception, I tried to google and I found that I have to change `getSupportFragmentManager()` to `getChildFragmentManager()` but I ain't able to do this, because I'm inside activity. Here's stacktrace:\r\n```\r\nE/AndroidRuntime: FATAL EXCEPTION: main\r\nE/AndroidRuntime: Process: me.cullycross.example, PID: 16709\r\nE/AndroidRuntime: java.lang.IllegalStateException: Recursive entry to executePendingTransactions\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1544)\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:545)\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:163)\r\nE/AndroidRuntime:     at android.support.v4.view.ViewPager.dataSetChanged(ViewPager.java:930)\r\nE/AndroidRuntime:     at android.support.v4.view.ViewPager$PagerObserver.onChanged(ViewPager.java:2907)\r\nE/AndroidRuntime:     at android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37)\r\nE/AndroidRuntime:     at android.support.v4.view.PagerAdapter.notifyDataSetChanged(PagerAdapter.java:276)\r\nE/AndroidRuntime:     at me.cullycross.example.activities.OrderActivity.onPageDataChanged(OrderActivity.java:138)\r\nE/AndroidRuntime:     at com.tech.freak.wizardpager.model.AbstractWizardModel.onPageDataChanged(AbstractWizardModel.java:52)\r\nE/AndroidRuntime:     at com.tech.freak.wizardpager.model.Page.notifyDataChanged(Page.java:92)\r\nE/AndroidRuntime:     at com.tech.freak.wizardpager.ui.TextFragment$1.afterTextChanged(TextFragment.java:97)\r\nE/AndroidRuntime:     at android.widget.TextView.sendAfterTextChanged(TextView.java:7679)\r\nE/AndroidRuntime:     at android.widget.TextView.setText(TextView.java:4056)\r\nE/AndroidRuntime:     at android.widget.TextView.setText(TextView.java:3905)\r\nE/AndroidRuntime:     at android.widget.EditText.setText(EditText.java:85)\r\nE/AndroidRuntime:     at android.widget.TextView.setText(TextView.java:3880)\r\nE/AndroidRuntime:     at android.widget.TextView.onRestoreInstanceState(TextView.java:3780)\r\nE/AndroidRuntime:     at android.view.View.dispatchRestoreInstanceState(View.java:13621)\r\nE/AndroidRuntime:     at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2893)\r\nE/AndroidRuntime:     at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2893)\r\nE/AndroidRuntime:     at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2893)\r\nE/AndroidRuntime:     at android.view.View.restoreHierarchyState(View.java:13599)\r\nE/AndroidRuntime:     at android.support.v4.app.Fragment.restoreViewState(Fragment.java:468)\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1053)\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1207)\r\nE/AndroidRuntime:     at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1572)\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:545)\r\nE/AndroidRuntime:     at android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:163)\r\nE/AndroidRuntime:     at android.support.v4.view.ViewPager.populate(ViewPager.java:1106)\r\nE/AndroidRuntime:     at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:552)\r\nE/AndroidRuntime:     at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:514)\r\nE/AndroidRuntime:     at android.support.v4.view.ViewPager.dataSetChanged(ViewPager.java:946)\r\nE/AndroidRuntime:     at android.support.v4.view.ViewPager$PagerObserver.onChanged(ViewPager.java:2907)\r\nE/AndroidRuntime:     at android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37)\r\nE/AndroidRuntime:     at android.support.v4.view.PagerAdapter.notifyDataSetChanged(PagerAdapter.java:276)\r\nE/AndroidRuntime:     at me.cullycross.example.activities.OrderActivity.onPageTreeChanged(OrderActivity.java:150)\r\nE/AndroidRuntime:     at com.tech.freak.wizardpager.model.AbstractWizardModel.onPageTreeChanged(AbstractWizardModel.java:61)\r\nE/AndroidRuntime:     at com.tech.freak.wizardpager.model.BranchPage.notifyDataChanged(BranchPage.java:98)\r\nE/AndroidRuntime:     at com.tech.freak.wizardpager.ui.SingleChoiceFragment.onListItemClick(SingleChoiceFragment.java:122)\r\nE/AndroidRuntime:     at android.support.v4.app.ListFragment$2.onItemClick(ListFragment.java:58)\r\nE/AndroidRuntime:     at android.widget.AdapterView.performItemClick(AdapterView.java:300)\r\nE/AndroidRuntime:     at android.widget.AbsListView.performItemClick(AbsListView.java:1143)\r\nE/AndroidRuntime:     at android.widget.AbsListView$PerformClick.run(AbsListView.java:3044)\r\nE/AndroidRuntime:     at android.widget.AbsListView$3.run(AbsListView.java:3833)\r\nE/AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:739)\r\nE/AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:95)\r\nE/AndroidRuntime:     at android.os.Looper.loop(Looper.java:135)\r\nE/AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:5221)\r\nE/AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/TechFreak/WizardPager/issues/comments/209245171","html_url":"https://github.com/TechFreak/WizardPager/issues/14#issuecomment-209245171","issue_url":"https://api.github.com/repos/TechFreak/WizardPager/issues/14","id":209245171,"user":{"login":"viraljetani","id":1935495,"avatar_url":"https://avatars.githubusercontent.com/u/1935495?v=3","gravatar_id":"","url":"https://api.github.com/users/viraljetani","html_url":"https://github.com/viraljetani","followers_url":"https://api.github.com/users/viraljetani/followers","following_url":"https://api.github.com/users/viraljetani/following{/other_user}","gists_url":"https://api.github.com/users/viraljetani/gists{/gist_id}","starred_url":"https://api.github.com/users/viraljetani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viraljetani/subscriptions","organizations_url":"https://api.github.com/users/viraljetani/orgs","repos_url":"https://api.github.com/users/viraljetani/repos","events_url":"https://api.github.com/users/viraljetani/events{/privacy}","received_events_url":"https://api.github.com/users/viraljetani/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T06:10:35Z","updated_at":"2016-04-13T06:10:35Z","body":"Hey tony, \r\n\r\nwere you able to get a solution over this bug? I think I ran into very similar situation like yours and not able to get a solution.. Any suggestions??"}}