解决ARouter Fragment中startActivityForResult 无法在Fragment中的onActivityResult收到回调的问题
val postcard = ARouter.getInstance().build(RouterPage.SUBJECT)
ARouter.getInstance().fragmentNavigation(this, postcard,1000)
fun ARouter.fragmentNavigation(fragment: Fragment, postcard: Postcard, requestCode: Int) {
LogisticsCenter.completion(postcard)
val intent = Intent(fragment.activity,postcard.destination)
intent.putExtras(postcard.extras)
fragment.startActivityForResult(intent, requestCode)
}