static void destroyScope(Context context) {
   MortarScope.getScope(context).destroy();
 }
 public TearDownContext(Context context, MortarScope scope) {
   super(scope.createContext(context));
   this.parentScope = MortarScope.getScope(context);
 }
Esempio n. 3
0
 public MortarScope getScreenScope(Context context, String name, Object screen) {
   MortarScope parentScope = MortarScope.getScope(context);
   return getScreenScope(context.getResources(), parentScope, name, screen);
 }