Skip to content

1.1.0

Compare
Choose a tag to compare
@skydoves skydoves released this 07 Apr 10:40
a5dead1

🎉 Released a new version 1.1.0! 🎉

What's New?

  • Added new function whatIfFindFragment for FragmentActivity.
    An expression for invoking [whatIf] when the [FragmentActivity] has an attached fragment [T].
.whatIfFindFragment<MainTestFragment>(fragment_id) {
  // do something
}
whatIfFindFragment<MainTestFragment>(MainTestFragment.TAG) { 
  // do something
}
  • Added new function whatIfFindParentInterface for finding a parent interface for Fragment.
  • Added new function whatIfHasDeepLinkUri for invoking whatIf when the Activity's intent deep link URI is not null and not empty.
  • Changed WhatIfInlineOnly to internal.