9

I have been searching all around the web for a simplified guide on using Mortar and Flow in Android but just found some snippets of code explained.

Its really hard to understand how this library works.

General Grievance
  • 4,555
  • 31
  • 31
  • 45

2 Answers2

10

Try recently updated samples - now it's possible to realize idea behind it with working samples.

Flow-Sample

Mortar-Sample

Also code in libraries itself contains documentation, which helps with grokking with it. Also consider reading these blog articles:

Advocating against fragments

An investigation into Flow and Mortar

and presentations from these guys:

Presentation by Pierre-Yves Ricau from Square and slides

Presentation and slides by Thorben Primke at Droidcon Berlin 2015

Slides of presentation by Matt Compton

along with blog article provided above. Though the libraries are evolving rapidly and some information in these libraries outdated they're helpful.

Oleg Osipenko
  • 2,409
  • 1
  • 20
  • 28
4

You can also check out my example project with Mortar / Flow / Dagger2, which is up to date with latest versions: https://github.com/lukaspili/Mortar-Flow-Dagger2-demo

lukasz
  • 3,121
  • 1
  • 21
  • 20