Package com.example.skeddly.ui.utility
Class FragmentAnim
java.lang.Object
com.example.skeddly.ui.utility.FragmentAnim
Houses functions related to animating transitions between fragments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic androidx.fragment.app.FragmentTransactionsetDefaultAnimations(androidx.fragment.app.FragmentTransaction transaction) Given a fragment transaction, set the default animations on it.
-
Constructor Details
-
FragmentAnim
public FragmentAnim()
-
-
Method Details
-
setDefaultAnimations
public static androidx.fragment.app.FragmentTransaction setDefaultAnimations(androidx.fragment.app.FragmentTransaction transaction) Given a fragment transaction, set the default animations on it.- Parameters:
transaction- The fragment transaction to apply the animations on.- Returns:
- The transaction with the animations applied.
-