Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.0.0
Devices/Android versions reproduced on:
Android 8.1.0
code:
in activity:
viewPager2.apdapter = AudienceFragmentPager()
class AudienceFragmentPager(
fragmentActivity: FragmentActivity,
) : FragmentStateAdapter(fragmentActivity) {
private var liveList = mutableListOf<CreateLiveBean>()
fun setLiveListData(dataList: MutableList<CreateLiveBean>) {
liveList = dataList
notifyDataSetChanged()
}
fun getLiveListData()=liveList
override fun getItemCount() = liveList.size
override fun createFragment(position: Int): Fragment {
return AudienceFragment.newInstance(liveList[position])
}
this method ->createFragment called 4 count ( liveList.size )
error:"FragmentManager is already executing transactions"
when system in Android 10/11 .. not error