code: public static AndroidLifecycleScopeProvider from(
        Lifecycle lifecycle, Lifecycle.Event untilEvent) {
      return from(lifecycle, new UntilEventFunction(untilEvent));
    }
docs: Creates a {@link AndroidLifecycleScopeProvider} for Android Lifecycles.
  
  @param lifecycle the lifecycle to scope for.
  @param untilEvent the event until the scope is valid.
  @return a {@link AndroidLifecycleScopeProvider} against this lifecycle.