Pilot
Pilot copied to clipboard
An android.* decoupled application stack for Android
See https://github.com/doridori/Pilot/issues/7#issuecomment-348454198 `...ActivityAdapter` i.e. ``` public void onStartDelegate() { stateStackUISyncer.hostActivityOnStarted(); } ```
`PilotUISyncer` is a rubbish name as it is not clear what it is doing. `StateStackRenderer` would be more descriptive. This is composed of various classes that handle a subset of...
ACTIVITY LIFECYCLE ENUM - register with parent stack? when register observer pass boolean to pass curent state - `ACTIVITY_STARTED` - `ACTIVITY_STOPPED` (seperate from NOT_STARTED?) STACK LIFECYCLE (frame overrides) - `FRAME_TOP_OF_STACK`...
- [ ] Rename to `ViewFactory` - [ ] Add abstract `onPostViewCreated`, to allow DI to be performed external to the View, or a DI object to be passed to...
should add a `onPostCreateFrame` method to the `StateFrameFactory` interface. This can allow for DI to take place with a Factory composed with some custom scoped `Component`, rather than reaching out...
The `state-stack` (https://github.com/doridori/StateStack) (comprised of `state-frames`) should live as its own android independent project. Really its a type of state-machine, which: 1. Allows states to exist in a stack, and...
Much easier to talk about when using the word state, as primarily the objects are states, its is secondary that they happen to be stored in a Stack.
If we remove/change the lifecycle stuff (see other issue) then this leaves the adapter as an extra layer of confusion in the Pilot Impl. Some of the logic could be...
...as it returns a View type from one of the methods for use only by the `UITypeDisplayerView`, Each type displayer should contain its own interface def for this use-case
..instead of `PilotBackedFrameLayout` Will ease flexibility of using `Views` | `Fragments` down the line. Also will ease supporting multiple Frames / states per view.