Skip to content
ruochao edited this page Mar 4, 2016 · 7 revisions

CircleFlow is a lightweight flow library for Android.

Definition

In order to create a flow diagram, we provide an interface called FlowDefinition.

Node Types

Execution

FlowEngine is an interface regarding the flow execution.

To get the FlowEngine instance:

FlowEngine engine = CircleFlow.getEngine();

To execute a flow:

engine.executeFlow();

To cancel a flow execution:

engine.cancel("flow-id");

Service Hub

To get FlowServies instance:

FlowServices services = CircleFlow.getServices();
  • Android Service
  • Lifecycle Service
  • Signal Service

Sample

Please check the sample project for details: https://github.com/mocircle/circleflow-android/tree/master/flowsample

Clone this wiki locally