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
public static BundleService getBundleService(Context context) {
BundleServiceRunner runner = BundleServiceRunner.getBundleServiceRunner(context);
if (runner == null) {
throw new IllegalStateException(
"You forgot to set up a " + BundleServiceRunner.class.getName() + " in your activity");
}
return runner.requireBundleService(MortarScope.getScope(context));
}
runner can never be null. BundleServiceRunner.getBundleServiceRunner will throw is there is no BundleServiceRunner in the scope.
The text was updated successfully, but these errors were encountered:
The code does this:
runner can never be null. BundleServiceRunner.getBundleServiceRunner will throw is there is no BundleServiceRunner in the scope.
The text was updated successfully, but these errors were encountered: