Flow is a small library that helps with describing an Android application as a collection of moderately independent screens.
Questions tagged [square-flow]
21 questions
1
vote
0 answers
Flow sample SimpleSwitcher subcontainers
In the recent update of Flow sample app, you introduced SimpleSwitcher which uses PathContext as a way of allowing customised sub-containers.
Could you elaborate on this term and/or give an example on what is meant by sub-containers?
Also how does…

balysv
- 176
- 7
1
vote
0 answers
Building Square's "Flow" sample app: Maven success but unusable APK
I was just trying to build the sample application for Square's Flow libary, specifically the code from this commit:
https://github.com/square/flow/commit/38c1e12d49b20b4f7eeee6a21f339e03dac76394
I used mvn from the command line. It finishes…

david.mihola
- 12,062
- 8
- 49
- 73
1
vote
1 answer
How do I finish an Activity from within a mortar Presenter or a View?
How do I finish an Activity from within a Presenter or a View in the mortar sample app?

Wu-Man
- 898
- 9
- 11
0
votes
1 answer
Proper way to use Dispatcher in Flow?
I have a simple two screen app. The first screen presents the user with login options and the second screen is where they see the content upon login.
Once the user logs in, I set the key with Flow.get( view ).set( Screens.CHAT ).
All is nice and…

An SO User
- 24,612
- 35
- 133
- 221
0
votes
1 answer
What was the reason to put view classes to layout instead of inflating layout inside view class?
Mortar view do not directly inflate it's content. Instead there is an assumption that layout with mortar view will have view content nested in it.
I feel it makes little harder to manage connection between view and it's layout.
What was the reason…

Alexey Zakharov
- 24,694
- 42
- 126
- 197
0
votes
0 answers
Android Flow example crashes with ClassNotFoundException
I'm Naive in Android development. I tried to use flow/mortar for development and stuck with an exception.
Here's what I did. In Eclipse, I chose New (Crtl N) -> Android Project from existing code and imported the flow sample downloaded from the…

Ramraj
- 2,040
- 14
- 17