summaryrefslogtreecommitdiff
path: root/library/src/main/java/moe/yuuta/flow/FlowInfo.kt
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/main/java/moe/yuuta/flow/FlowInfo.kt')
-rw-r--r--library/src/main/java/moe/yuuta/flow/FlowInfo.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/src/main/java/moe/yuuta/flow/FlowInfo.kt b/library/src/main/java/moe/yuuta/flow/FlowInfo.kt
new file mode 100644
index 0000000..d12228c
--- /dev/null
+++ b/library/src/main/java/moe/yuuta/flow/FlowInfo.kt
@@ -0,0 +1,10 @@
+package moe.yuuta.flow;
+
+/**
+ * Stores basic info, for instance, title and subtitle for the flow. These data will
+ * be auto applied when user switch to the related flow and will be reset after leaving the flow.
+ */
+data class FlowInfo(
+ var headerConfig: HeaderConfig,
+ var navigationBarConfig: NavigationBarConfig?
+) \ No newline at end of file