ActivityResultLauncher icon indicating copy to clipboard operation
ActivityResultLauncher copied to clipboard

能否增加方法

Open Samdogcom opened this issue 2 years ago • 1 comments

BaseActivityResultLauncher里有

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

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

Samdogcom avatar Jan 12 '22 15:01 Samdogcom

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

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

DylanCaiCoding avatar Jan 13 '22 02:01 DylanCaiCoding