qingmei2 / RxImagePicker

:rocket:RxJava2 and RxJava3 external support. Android flexible picture selector, provides the support for theme of Zhihu and WeChat (灵活的Android图片选择器,提供了知乎和微信主题的支持).
MIT License
1.2k stars 156 forks source link

fragment transaction error(?) issue(?) using androidx.fragment.app:1.3.0-alpha08 #96

Open j1nu opened 4 years ago

j1nu commented 4 years ago

using androidx.fragment.app:1.3.0-alpha08

I've tested that the new ListGridFragragment has been created before onDestroyView() is called, so onLoadReset() from the AlbumLoader is not called at the right time.

FragmentManager.enableNewStateManager(false) Adding this line to Activity OnCreate() can temporarily resolve it, but I think we need a fundamental solution.

I think it's related. Look at this. https://issuetracker.google.com/issues/161654580