You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
I'm trying to create a scope for objects that require an authenticated user. Basically in the same manner that is described in the readme.
Maybe a scope is associated with a particular view, or maybe it isn't. For example, an app might have a top level global scope that allows the injection of fundamental services; a child of that which manages objects that require an authenticated user; children of them for each Activity; and children of the activity scopes for their various screens and regions.
This issue however is that authentication requires access to the activity lifecycle (Facebook SDK) and should be run before FlowOwner presenter (from the sample). Any ideas on how to wire something like this up?
If this isn't the appropriate place to post let me know and I'll close and post on SO.
Thanks!
The text was updated successfully, but these errors were encountered:
I'm supposed to tell you to use StackOverflow for this kind of question, but I keep forgetting to monitor that so nevermind.
Notice that the V in Presenter<V> isn't tied to the Android View class. We have a lot of places where we share activity services with the rest of the application via a SomePresenter<A>, where A is an interface implemented by the Activity itself. Off the top of my head, something like that could be tied to the Facebook SDK, and be written not to show a view with a FlowOwner presenter until the coast is clear.
Can't promise to write a sample of this kind any time soon. This issue seems worth keeping open as a reminder that it would be a good idea. Really, a Facebook SDK sample specifically would be pretty popular.
I'm trying to create a scope for objects that require an authenticated user. Basically in the same manner that is described in the readme.
This issue however is that authentication requires access to the activity lifecycle (Facebook SDK) and should be run before FlowOwner presenter (from the sample). Any ideas on how to wire something like this up?
If this isn't the appropriate place to post let me know and I'll close and post on SO.
Thanks!
The text was updated successfully, but these errors were encountered: