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.
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.
Try recently updated samples - now it's possible to realize idea behind it with working samples.
Also code in libraries itself contains documentation, which helps with grokking with it. Also consider reading these blog articles:
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.
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