Bug P3
Status Update
Comments
jo...@gmail.com <jo...@gmail.com> #2
Can you attach / share a project that reproduces the issue?
iv...@gmail.com <iv...@gmail.com> #3
Now i sure this is viewpager2's bug.
because just occur recyclerview inside viewpager2 with constraintlayout, if paging3 use Independently with viewpage2 it's not problem.
because just occur recyclerview inside viewpager2 with constraintlayout, if paging3 use Independently with viewpage2 it's not problem.
Description
Component used: ViewPager2 + Fragment
Version used: viewpager2:1.1.0-beta01 fragment:1.2.5
Devices/Android versions reproduced on: Android Emulator API 16
Description: I have a DialogFragment, it will show as a Dialog on Pad and as a normal Fragment on Phone. After update from ViewPager to ViewPager2, it will crash.
WorkAround: DialogFragment.setShowsDialog(false)
Stack:
Sample Code:
If call DialogFragment.setShowsDialog(false), will not crash
look like in FragmentStateAdapter.placeFragmentInViewHolder(FragmentStateAdapter.java:351), it call
add(fragment, "f" + holder.getItemId())
, not provide a container View ID.