You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cicerone migration to Kotlin in v6.0 changed the project structure seriously, so code that worked for v5 in many cases can't be formally migrated to v6+, and moreover, sometimes even the proper approach to migration is unclear. It would be nice to have some guide or recommendations on suggested migration strategy.
Personally, I have a v5-based project that was written before me and that I now have to support and improve, and this issue really got me stuck. Any help would be appreciated.
Here are some existing patterns I have trouble migrating:
classMyScreen : SupportAppScreen() {
overridefungetFragment(): Fragment { // New API requires factoryreturnMyFragment()
}
}
classMyNavigator(valactivity:FragmentActivity, containerId:Int)
:SupportAppNavigator(activity, containerId) {
overridefunsetupFragmentTransaction(
command:Command, // Argument missing in v6.0currentFragment:Fragment?,
nextFragment:Fragment?,
fragmentTransaction:FragmentTransaction
) {
...
}
The text was updated successfully, but these errors were encountered:
Cicerone migration to Kotlin in v6.0 changed the project structure seriously, so code that worked for v5 in many cases can't be formally migrated to v6+, and moreover, sometimes even the proper approach to migration is unclear. It would be nice to have some guide or recommendations on suggested migration strategy.
Personally, I have a v5-based project that was written before me and that I now have to support and improve, and this issue really got me stuck. Any help would be appreciated.
Here are some existing patterns I have trouble migrating:
The text was updated successfully, but these errors were encountered: