whatIfHasArguments

inline fun Fragment?.whatIfHasArguments(whatIf: (Bundle) -> Unit)

Author

skydoves (Jaewoong Eum)

An expression for invoking whatIf when the Fragment.getArguments is not null.

Parameters

whatIf

An executable lambda function if the Fragment has arguments.


inline fun Fragment?.whatIfHasArguments(whatIf: (Bundle) -> Unit, whatIfNot: () -> Unit)

Author

skydoves (Jaewoong Eum)

An expression for invoking whatIf when the Fragment.getArguments is not null.

Parameters

whatIf

An executable lambda function if the Fragment has arguments.

whatIfNot

An executable lambda function if the Fragment has not any arguments.