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

FragmentStateAdapter.FragmentTransactionCallback.OnPostEventListener

public static interface FragmentStateAdapter.FragmentTransactionCallback.OnPostEventListener

androidx.viewpager2.adapter.FragmentStateAdapter.FragmentTransactionCallback.OnPostEventListener


Callback returned by FragmentStateAdapter.FragmentTransactionCallback.onFragmentPreAdded(Fragment), FragmentStateAdapter.FragmentTransactionCallback.onFragmentPreRemoved(Fragment), FragmentStateAdapter.FragmentTransactionCallback.onFragmentMaxLifecyclePreUpdated(Fragment, Lifecycle.State) called after the operation ends.

Summary

Public methods

abstract void onPost()

Called after the operation is ends.

Public methods

onPost

public abstract void onPost ()

Called after the operation is ends.