You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
java.lang.IllegalStateException: Recursive entry to executePendingTransactions
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1550)
at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:563)
at com.tbruyelle.rxpermissions2.RxPermissions.getRxPermissionsFragment(RxPermissions.java:54)
at com.tbruyelle.rxpermissions2.RxPermissions.(RxPermissions.java:41)
at com.example.mingkangpan.learnrx2.fragment.PermissionFragment$rxPermissions$2.invoke(PermissionFragment.kt:21)
at com.example.mingkangpan.learnrx2.fragment.PermissionFragment$rxPermissions$2.invoke(PermissionFragment.kt:19)
at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:130)
at com.example.mingkangpan.learnrx2.fragment.PermissionFragment.getRxPermissions(PermissionFragment.kt:0)
at com.example.mingkangpan.learnrx2.fragment.PermissionFragment.init(PermissionFragment.kt:35)
at com.example.mingkangpan.learnrx2.fragment.PermissionFragment.onActivityCreated(PermissionFragment.kt:30)
at android.app.Fragment.performActivityCreated(Fragment.java:2361)
when I use rxpermissions in fragment, I cant use it in onActivity create, seems like the fragment manager is in same state while onActivityCreated, which doesn't allow another fragment to be attached
The text was updated successfully, but these errors were encountered:
Sorry I have no idea, community pushed me to use fragments for this lib (originally it was an Activity), and I finally accepted but I regret. I don't use fragment from ages, so sorry I can't help you.
@MinkiPan could you please share us a project example to reproduce this error? I have tried to reproduce it but I wasn't lucky, I was able to request permissions inside of a fragment in the onActivityCreated method.
when I use rxpermissions in fragment, I cant use it in onActivity create, seems like the fragment manager is in same state while onActivityCreated, which doesn't allow another fragment to be attached
The text was updated successfully, but these errors were encountered: