Skip to content

Releases: mvojtkovszky/SingleActivityNavigation

3.4.0

27 Oct 12:45
Compare
Choose a tag to compare
  • Calling navigateBack will take stack into consideration instead of calling default back press.
  • Calling dismissOpenBottomSheet or dismissOpenDialog will now return Boolean indicating whether open sheet or dialog was dismissed or not.
  • Fix internally call onBackPressedDispatcher.onBackPressed() instead of deprecated onBackPressed()
  • bump Kotlin to 1.9.10, Gradle plugin to 8.1.2
  • bump core-ktx to 1.12.0, material to 1.10.0

3.3.1

07 Sep 08:50
Compare
Choose a tag to compare
  • Fix default onBackPressed() won't trigger after handleOnBackPressed is overridden and handled once. Callback is now always re-enabled afterwards.

Full Changelog: 3.3.0...3.3.1

3.3.0

29 Aug 09:37
Compare
Choose a tag to compare
  • Fix onBackPressed deprecation, now using OnBackPressedCallback.
  • Remove handleOnBackPressed and onBackPressed() in favour of handleOnBackPressed().
  • bump Gradle plugin to 8.1.1, Kotlin to 1.9.0
  • bump buildToolsVersion 34.0.0, targetSdkVersion, compileSdkVersion to 34
  • bump core-ktx to 1.10.1, appcompat to 1.6.1, material to 1.9.0

Full Changelog: 3.2.0...3.3.0

3.2.0

11 Jan 10:44
Compare
Choose a tag to compare
  • Prevent potential IllegalStateException if navigating back while app is in the background
  • Bump Kotlin to 1.7.20, Gradle plugin to 7.3.1, sdk and build tools to 33
  • Bump other dependencies to latest versions

3.1.0

05 Aug 07:32
Compare
Choose a tag to compare
  • Bump Gradle plugin to 7.0.0
  • Update publish scripts

3.0.0

02 Jun 12:22
Compare
Choose a tag to compare
  • rename navigation functions to use prefix navigateTo
  • use navigateToRoot and abandon handling of root fragments in library
  • getDefaultFragmentContainerId() and getRootFragmentContainerId() instead of val
  • rename closeCurrentlyOpenBottomSheet() to dismissOpenBottomSheet() and closeCurrentlyOpenDialog() to dismissOpenDialog()
  • fix issue with potential memory leak in Android 10 when back button pressed
  • bump Kotlin to 1.5.10, Gradle plugin to 4.2.1
  • bump other dependecies
  • replace jCenter with mavenCentral

2.3.0

04 Jan 19:01
Compare
Choose a tag to compare
  • Add logic for mustBeValidToInvokeNavigation modifier
  • Using Kotlin 1.4.21, buildToolsVersion 30.0.3

2.2.0

04 Dec 09:56
Compare
Choose a tag to compare
  • Using Kotlin 1.4.20
  • Remove synthetic view binding
  • Prevent being caught in IllegalStateException due to state loss when opening a dialog
  • Fix potential memory leaking in dialogs

2.1.0

05 Nov 14:26
Compare
Choose a tag to compare
  • Retaining instance state across framework if underlying activity gets recreated
  • Add getCurrentFragment() method returning top BaseSingleFragment added to the fragment manager, regardless of its container

2.0.0

03 Nov 22:27
Compare
Choose a tag to compare
  • Introduce FragmentType enum.
  • Introduce closeDialogsAndSheetsWhileNavigating modifier with behaviour.
  • Introduce additional optional container meant for master/detail fragment scenarios.
  • Fragment can now define by itself if it is a modal.
  • Fragment can override back press.
  • Style can now be added to dialog.
  • BaseSingleActivity called from fragment is now an optional as fragment might not be attached to activity.