我收到这个错误
由 java.lang.IllegalArgumentException 引起:ArrayMap 中的重复键:在 android.os.Parcel.readArrayMapInternal(Parcel.java:2486) 处的 android.util.ArrayMap.validate(ArrayMap.java:550) 处为 null,位于 android.os.BaseBundle 处.unparcel(BaseBundle.java:221) 在 android.os.BaseBundle.containsKey(BaseBundle.java:269) 在 com.example.fragments.QuestionSwipeFragment.handleBundle(SourceFile:197)
不在我当前的设备中,但它来自 crashlytics,但我无法在自己的设备中重新生成此问题尝试了所有可能的方法,但无法在我的设备中出现相同的错误,下面是我的代码,答案将非常感激。
public class QuestionSwipeFragment extends DialogFragment {
private View mRootView;
private int mPosition;
private List<ResourceModel> mResourceList;
private QuestionSwipePagerAdapter mQuestionSwipePagerAdapter;
private ViewPager mPager;
private int mSelectedChapterId;
private int mSelectedSectionId;
private int mSelectedSubSectionId;
private boolean mSelectedFavourite;
private boolean mIsFavourite;
private boolean mIsPagination;
private int mCurrentPage;
private int mTotalPage;
int mResourcePageNo;
int mMarkId;
int mDifficulties;
private int mFragmentType;
private int mFragType;
private PaginationParams mPaginationParams = new …Run Code Online (Sandbox Code Playgroud)