Git Product home page Git Product logo

mortar-flow-dagger2-demo's People

Contributors

gitter-badger avatar lukaspili avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mortar-flow-dagger2-demo's Issues

Scope name collisions will create weird bevavior/issues, hard to debug

The way used to name scopes will create awfull issues (hard to understand/debug) :

You shouldn't use the class name for scopes like this :

@OverRide
public Context setUpContext(Path path, Context parentContext) {
MortarScope scope = screenScoper.getScreenScope(parentContext, path.getClass().getName(), path);
return new TearDownContext(parentContext, scope);
}

It took me 1 week to understand that this was causing all the problems I had in my app.
See there :
square/mortar#163

This is related to
square/mortar#149
And a fix was suggested upstream there :
square/mortar#161

Calling specific callbacks that take Activity as parameter

Hi Lukas,

First of all, thanks for the outstanding job that you have been doing !
I have a question, I've checked out this example and I'm trying to login using FB login.
The problem is, inside my view I have a button callback that must call
'LoginManager.getInstance().logInWithReadPermissions(activity, permissions);'

How can I accomplish this ?
Thanks for your time !

subflow and drawer/toolbar

This code looks very clean! Is there a way to start a subflow inside the main flow? For example, when detect there is permission issue, start a "login" flow to sign in/sign up. Also, is there any example/suggestion to integrate navigation draw and toolbar into this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.