Flow v0.9 Release Notes
Release Date: 2015-04-24 // about 9 years ago-
A large number of breaking changes have been made in the interest of focusing the library.
- Backstack is now called History and has some new method names.
- The
resetTo
,goTo
,replaceTo
,forward
, andbackward
operations are all gone. In their place are two simple methods:set(Object)
andset(History, Direction)
. HasParent
andgoUp
are gone. "Up" navigation is left as an exercise to app authors who need it, at least for the time being.- ๐ The
@Layout
annotation has been removed. You can find it in the sample if you want a copy. - Listener is now called Dispatcher, and can be set on a Flow after construction. Dispatcher gets more information than Listener did.
There are also some new features, and more are coming.
- โ Added a Context service for easily obtaining the Flow.
- โ Added
FlowDelegate
for easier integration into an Activity. - โ Added the flow-path module. Paths generally represent states/screens in an app, and are associated with Contexts which can be created by a user-supplied factory. PathContainer helps with switching views while maintaining view state.