square / mortar

A simple library that makes it easy to pair thin views with dedicated controllers, isolated from most of the vagaries of the Activity life cycle.
Apache License 2.0
2.16k stars 156 forks source link

If we don't find a scope, look in the app context #158

Closed loganj closed 9 years ago

loganj commented 9 years ago

Essentially a workaround for the lifecycle interval where an Activity's base context is not yet set to the Application, but the Application context is available and contains a MortarScope that provides needed services.

rjrjr commented 9 years ago

:shipit:

pforhan commented 9 years ago

LGTM