The Many Flavors of Commit()

FragmentTransaction in the support library now provides four different ways to commit a transaction:

You have probably also encountered one of these alongside a call to executePendingTransactions(). What do each of these do, and which one should you be using? Let’s explore each one in more depth and find out!

Read on Medium ›