Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否增加方法 #6

Open
Samdogcom opened this issue Jan 12, 2022 · 1 comment
Open

能否增加方法 #6

Samdogcom opened this issue Jan 12, 2022 · 1 comment

Comments

@Samdogcom
Copy link

BaseActivityResultLauncher里有

  public void launch(@SuppressLint("UnknownNullness") I input, @Nullable ActivityOptionsCompat options,
                     @NonNull ActivityResultCallback<O> callback) {
    this.callback = callback;
    launcher.launch(input, options);
  }

StartActivityLauncher及所有类都没提供此方法,好像这个平时用得不多
刚好有需求要某个Activity启动时改变切换效果,就要用到了,希望能对外增加此方法,谢谢

@DylanCaiCoding
Copy link
Owner

不是很明白想要加什么方法,上面那个是基类的方法,子类都可以调用的。

startActivityLauncher.launch(intent, options) {
  // ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants