New in Support Library 25.1.0, Android disallow commitNow() on onBackStackChanged()

Recently just upgraded the App from support library 24 to latest support library i.e. 25.1.0. Tested all good until discover a new crash as below

java.lang.IllegalStateException: FragmentManager is already executing transactions
at

--

--

--

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Recommended from Medium

Prevent Reverse Engineering (RE) of your Android application

Flutter Auth using Firebase Oauth and Azure AD

Kotlin: For-loop vs ForEach

Readily Build Types and Product Flavors build.gradle script

Flutter drag to select multiple items from GridView

Have Fun With Jetpack Compose GraphicsLayer Modifier

What is the Difference Between pushReplacementNamed and popAndPushNamed in Flutter?

Learn Dagger 2 from Dagger Hilt

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elye

Elye

Sharing Software Development Experience, focus on Mobile. https://elye-project.medium.com/subscribe https://twitter.com/elye_project

More from Medium

Setting UserAgent in Android Webview

Jetpack DataStore in Modern Android Development

How To Test Kotlin Coroutines?

People creating

Integrate Version catalog in Android