Releases: terrakok/Cicerone
Releases · terrakok/Cicerone
Version 7.1
Fix bug with 'Can not perform this action after onSaveInstanceState' #164 (tnx @VitalyPeryatin)
Version 7.0
Breaking changes!
- now all navigator's operations are launched via Main Thread queue (fix for
FragmentManager is already executing transactions
. TNX @VitalyPeryatin) - Fragment transaction type was moved to
FragmentScreen
(design refactoring) - Screen instance was added to
setupFragmentTransaction
(#149) - Default screen key was updated for fix
BackTo
command without explicitly key declaration (TNX @eduard1abdulmanov123) - FragmentScreen and ActivityScreen are interfaces now (for better flexibility #144)
Version 6.6
Fix problem with loss of result listener.
Issue #130
Version 6.5
- Fixed launching Activity via Intent without class name:
fun WebView(url: String) = ActivityScreen { Intent(Intent.ACTION_VIEW, Uri.parse(url)) }
Version 6.4
- Added Java interop annotations! Thanks @aradxxx
- Set
fragmentReorderingAllowed=TRUE
by default.
Version 6.3
Refactored Screen
as interface and simplified FragmentScreen
and ActivityScreen
for using default screenKey
implementation.
Version 6.2
- Fix
newRootChain
command (tnx @MonStar1)
Version 6.1
- Added simple result messaging! You can use
router.setResultListener
androuter.sendResult
for this - Added
screenKey
as tag to fragment transaction for easy search viafragmentManager.findFragmentByTag
Version 6.0
- Fully rewritten on Kotlin! (breaking changes: a lot of external API was changed for more smoothy experience in Kotlin)
- root package changed to com.github.terrakok for avoid migration problems
- Added option for selecting add or replace strategy for open new fragment (see new parameter in router.navigateTo method)
- Added ability to use FragmentFactory for instantiating new fragments
Version 5.1.1
@adolgiy : Fix NPE when localStackCopy.size() == 0 and FragmentFactory is used