Flow v0.9 Release Notes

Release Date: 2015-04-24 // over 5 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, and backward operations are all gone. In their place are two simple methods: set(Object) and set(History, Direction).
    • HasParent and goUp 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.