Android 12 Developer Preview is here! Try it out, and give us your feedback!

OnPostEventListener

interface OnPostEventListener
androidx.viewpager2.adapter.FragmentStateAdapter.FragmentTransactionCallback.OnPostEventListener

Callback returned by onFragmentPreAdded, onFragmentPreRemoved, onFragmentMaxLifecyclePreUpdated called after the operation ends.

Summary

Public methods
abstract Unit

Called after the operation is ends.

Public methods

onPost

abstract fun onPost(): Unit

Called after the operation is ends.