Releases: mvojtkovszky/SingleActivityNavigation
Releases · mvojtkovszky/SingleActivityNavigation
3.4.0
- Calling
navigateBack
will take stack into consideration instead of calling default back press. - Calling
dismissOpenBottomSheet
ordismissOpenDialog
will now returnBoolean
indicating whether open sheet or dialog was dismissed or not. - Fix internally call
onBackPressedDispatcher.onBackPressed()
instead of deprecatedonBackPressed()
- 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
- 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
- Fix
onBackPressed
deprecation, now usingOnBackPressedCallback
. - Remove
handleOnBackPressed
andonBackPressed()
in favour ofhandleOnBackPressed()
. - 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
- 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
- Bump Gradle plugin to 7.0.0
- Update publish scripts
3.0.0
- 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
- Add logic for mustBeValidToInvokeNavigation modifier
- Using Kotlin 1.4.21, buildToolsVersion 30.0.3
2.2.0
- 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
- 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
- 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.