Skip to content

Instantly share code, notes, and snippets.

@digitalbuddha
Last active August 29, 2015 14:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Basic Premise:
Single activity, as each screen loads a scope and >=1 views that each have their own presenter keeping things like a header and footer seperated yet able to act as a single unit.
MortarActivity
MainFlow
WalkthroughScreen
WalkthroughView and Presenter
ActionBarView and Presenter
WalkthroughPagerView and Presenter
ScreenAdapter
5x Screens (each with a view and presenter)
SummaryScreen
DrawerView and Presenter
SummaryView and Presenter
ActionBarView and Presenter
SummaryHeaderView and Presenter
SummaryBodyView and Presenter
GoalScreen and Presenter
GoalView and Presenter
ActionBarView and Presenter
GoalPagerView and Presenter
SummaryScreen
TransferScreen
PortfolioScreen
HeaderView
PortfolioView
DetailView
ActivityScreen
Sample:
@Layout(R.layout.WalthroughScreen)
public class WalkthroughScreen
WalthroughScreen layout:
<ui.view.WalkthroughScreen>
</ui.view.WalkthroughView>
</ui.view.WalkthroughPagerView>
<ui.view.WalkthroughScreen>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment