FragmentStateAdapter not recreating currentFragment after notifyDataSetChanged
I had to override the following two methods...
override fun getItemId(position: Int): Long {
return items[position].id
}
override fun containsItem(itemId: Long): Boolean = items.any { it.id == itemId }
... to make it work!