Package-level declarations
Properties
Functions
Link copied to clipboard
fun AppCompatActivity.addFragment(title: String?, fragment: Fragment, tag: String?, @IdRes layoutId: Int)
Link copied to clipboard
Calls fragment's setHasOptionMenu
with true
as default
Link copied to clipboard
fun FragmentManager.applyActions(actions: (fragmentTransaction: FragmentTransaction) -> Unit = { _ -> })
Link copied to clipboard
Get drawable defined by attribute attr
Link copied to clipboard
Link copied to clipboard
Creates an AutoClearedValueInFragment associated with this fragment.
Link copied to clipboard
inline fun Fragment.checkPIPPermissionAndEnter(onCantHandleAction: () -> Unit = {}, builderActions: PictureInPictureParams.Builder.() -> Unit = {})
Link copied to clipboard
inline fun Fragment.checkPIPPermissions(onPermissionDenied: () -> Unit = {}, onPermissionGranted: () -> Unit)
Link copied to clipboard
Link copied to clipboard
Get color from resource with fragment context.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Fragment.fragmentDoubleArrayResult(requestKey: String, bundleKey: String, crossinline action: (DoubleArray?) -> Unit)
Link copied to clipboard
Link copied to clipboard
inline fun Fragment.fragmentFloatArrayResult(requestKey: String, bundleKey: String, crossinline action: (FloatArray?) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : Parcelable> Fragment.fragmentParcelableListResult(requestKey: String, bundleKey: String, crossinline action: (ArrayList<T>?) -> Unit)
Link copied to clipboard
inline fun <T : Parcelable> Fragment.fragmentParcelableResult(requestKey: String, bundleKey: String, crossinline action: (T?) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Go back to fragment whose tag matches with name
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Fragment.inTransaction(allowStateLoss: Boolean = false, block: FragmentTransaction.() -> Unit)
inline fun FragmentActivity.inTransaction(allowStateLoss: Boolean = false, block: FragmentTransaction.() -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreation(crossinline viewOwner: LifecycleOwner.() -> Unit)
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreation(crossinline onCreateAction: (LifecycleOwner) -> Unit = {}, crossinline onResumeAction: (LifecycleOwner) -> Unit = {}, crossinline onPauseAction: (LifecycleOwner) -> Unit = {}, crossinline onStartAction: (LifecycleOwner) -> Unit = {}, crossinline onStopAction: (LifecycleOwner) -> Unit = {}, crossinline onDestroyAction: (LifecycleOwner) -> Unit = {})
Link copied to clipboard
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreationOnCreate(crossinline onCreateAction: (LifecycleOwner) -> Unit)
Link copied to clipboard
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreationOnDestroy(crossinline onDestroyAction: (LifecycleOwner) -> Unit)
Link copied to clipboard
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreationOnPause(crossinline onPauseAction: (LifecycleOwner) -> Unit)
Link copied to clipboard
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreationOnResume(crossinline onResumeAction: (LifecycleOwner) -> Unit)
Link copied to clipboard
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreationOnStart(crossinline onStartAction: (LifecycleOwner) -> Unit)
Link copied to clipboard
inline fun Fragment.observeLifecycleOwnerThroughLifecycleCreationOnStop(crossinline onStopAction: (LifecycleOwner) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
An extension to postponeEnterTransition
which will resume after a timeout.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Context.replaceFragment(@StringRes title: Int, fragment: Fragment, tag: String?, @IdRes layoutId: Int)
fun AppCompatActivity.replaceFragment(@StringRes title: Int, fragment: Fragment, tag: String?, @IdRes layoutId: Int)
fun AppCompatActivity.replaceFragment(title: String?, fragment: Fragment, tag: String?, @IdRes layoutId: Int)
Link copied to clipboard
Call's Parent activity's setSupportActionBar
from Fragment
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard