ARouter Fragment的startActivityForResult处理
Postcard postcard = ARouter.getInstance()
.build("/xxx/xxx")
.withInt(“xxx”, 1)
.withString(“xxxx”, “string”);
LogisticsCenter.completion(postcard);
Intent intent = new Intent(fragment.getActivity(), postcard.getDestination());
intent.putExtras(postcard.getExtras());
fragment.startActivityForResult(intent, requestCode);
作者:三上山散人
链接:https://www.jianshu.com/p/37fe75895ba7
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。