Getting Started w/ Flow and Mortar

2.7k Views Asked by At

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.

2

There are 2 best solutions below

0
Oleg Osipenko On BEST ANSWER

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.

1
lukasz On

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