Bot releases are hidden (Show)
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/4.0.0-preview-3...4.0.0-preview-4
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/4.0.0-preview-2...4.0.0-preview-3
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.6...3.1.7
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.5...3.1.6
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.4...3.1.5
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.3...3.1.4
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.2...3.1.3
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.1...3.1.2
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.0...3.1.1
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.0.1...3.1.0
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.7...3.1.8
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.0.0...3.0.1
Published by PaulWoitaschek over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/2.1.5...3.0.0
Published by EricKuck over 1 year ago
PopRootControllerMode.NEVER
, which has always been the suggested setting.Changes needed to fully support predictive back gestures in your app:
setOnBackPressedDispatcherEnabled(true)
on your Activity's Router.onBackPressed()
from the Activity. No replacement is needed.handleBack()
, which is now deprecated, with an OnBackPressedCallback. Example callback: onBackPressedDispatcher?.addCallback(lifecycleOwner, object : OnBackPressedCallback(enabled = true) {
override fun handleOnBackPressed() {
println("back handled")
}
})
Published by EricKuck over 1 year ago
Conductor 4.0 is coming soon. It is already being used in production with many, many millions of users. It is, however, not guaranteed to be API stable. As such, it is being released as a preview rather than a standard release. Preview in this context is not a commentary on stability. It is considered to be up to the same quality standards as the current 3.x stable release.
Other than some Kotlin migrations and dependency updates, there are two primary changes in this release:
This is an opt-in change. If no changes are made in your codebase, you shouldn't experience any functionality changes.
Changes needed to fully support predictive back gestures in your app:
setPopRootControllerMode(PopRootControllerMode.NEVER)
and setOnBackPressedDispatcherEnabled(true)
on your Activity's Router.onBackPressed()
from the Activity. No replacement is needed.handleBack()
, which is now deprecated, with an OnBackPressedCallback. Example callback: // "this" must be a LifecycleOwner
onBackPressedDispatcher?.addCallback(this, object : OnBackPressedCallback(enabled = true) {
override fun handleOnBackPressed() {
println("back handled")
}
})
This is an opt-out change, and is enabled by default. Conductor has historically relied on platform Fragments to receive lifecycle events. This has resulted in a few shortcomings as functionality has been added to AndroidX Fragments, but is only available in newer API versions for the platform versions. Conductor will now automatically use AndroidX backing under two conditions: your Activity extends FragmentActivity and allowExperimentalAndroidXBacking = false
is not passed into the Conductor.attachRouter
method.
Published by EricKuck over 1 year ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.9...3.2.0
Published by EricKuck almost 2 years ago
Full Changelog: https://github.com/bluelinelabs/Conductor/compare/3.1.8...3.1.9
Published by EricKuck about 6 years ago
Added onContextAvailable and onContextUnavailable callback to controllers (helpful for dependency injection)
Added modules for Autodispose and Architecture Components's Lifecycle
Fixes issue where calling setBackstack repeatedly could result in a situation where multiple ControllerChangeHandlers are executing at the same time and interfering with each others states (#263)
Fixes a case that caused the incorrect change handler to execute when setting the backstack (fixes #286)
Now ensures that parent controller is restored after process death (fixes #300)
Fixes issue when immediately creating two routers in the same Activity (fixes #299)
Fixes attach state management when a controller is pushed while the Activity is paused. (Fixes #303)
shouldShowRequestPermissionRationale now returns the correct result. Fixes #317
Args are now restored to a controller after process death even if there is only a no-arg constructor. Fixes #313