Package com.skydoves.whatif_android
Functions
Link copied to clipboard
inline fun <T : Fragment> FragmentActivity.whatIfFindFragment(@IdRes id: Int, whatIf: (T) -> Unit)
Content copied to clipboard
inline fun <T : Fragment> FragmentActivity.whatIfFindFragment(tag: String?, whatIf: (T) -> Unit)
Content copied to clipboard
inline fun <T : Fragment> FragmentActivity.whatIfFindFragment(@IdRes id: Int, whatIf: (T) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
inline fun <T : Fragment> FragmentActivity.whatIfFindFragment(tag: String?, whatIf: (T) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Fragment?.whatIfHasArguments(whatIf: (Bundle) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
inline fun Activity.whatIfHasCharSequenceExtra(name: String, whatIf: (CharSequence) -> Unit)
Content copied to clipboard
An expression for invoking whatIf when the Activity's intent extras is has a CharSequence extra by name.
inline fun Activity.whatIfHasCharSequenceExtra(name: String, whatIf: (CharSequence) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
inline fun Activity.whatIfHasExtras(whatIf: (Bundle) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
inline fun Activity.whatIfHasExtras(name: String, whatIf: () -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
inline fun <T : Parcelable> Activity.whatIfHasParcelableArrayListExtra(name: String, whatIf: (ArrayList<T>) -> Unit)
Content copied to clipboard
An expression for invoking whatIf when the Activity's intent extras is has an ArrayList of object extra by name.
inline fun <T : Parcelable> Activity.whatIfHasParcelableArrayListExtra(name: String, whatIf: (ArrayList<T>) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
inline fun <T : Parcelable> Activity.whatIfHasParcelableExtra(name: String, whatIf: (T) -> Unit)
Content copied to clipboard
inline fun <T : Parcelable> Activity.whatIfHasParcelableExtra(name: String, whatIf: (T) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
inline fun <T : Serializable> Activity.whatIfHasSerializableExtra(name: String, whatIf: (T) -> Unit)
Content copied to clipboard
An expression for invoking whatIf when the Activity's intent extras is has a Serializable extra by name.
inline fun <T : Serializable> Activity.whatIfHasSerializableExtra(name: String, whatIf: (T) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
inline fun Fragment?.whatIfNotNullActivity(whatIf: (FragmentActivity) -> Unit)
Content copied to clipboard
inline fun Fragment?.whatIfNotNullActivity(whatIf: (FragmentActivity) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard
Link copied to clipboard
inline fun Fragment?.whatIfNotNullContext(whatIf: (Context) -> Unit, whatIfNot: () -> Unit)
Content copied to clipboard