Skip to content

添加了通过Fragment跳转Activity的功能以及在AppCompat控件中跳转会创建一个新的activity task的问题#523

Open
fxlcy wants to merge 5 commits intoalibaba:masterfrom
fxlcy:master
Open

添加了通过Fragment跳转Activity的功能以及在AppCompat控件中跳转会创建一个新的activity task的问题#523
fxlcy wants to merge 5 commits intoalibaba:masterfrom
fxlcy:master

Conversation

@fxlcy
Copy link

@fxlcy fxlcy commented Oct 19, 2018

在使用ARouter过程中发现,有几个问题:

1.fragment.startActivityForResult的功能在ARouter没有实现。

2.AppCompatTextView等控件中context通过TintContextWrapper.wrap(context)生成的一个新的context后,通过里面的context来跳转intent会添加Intent.FLAG_ACTIVITY_NEW_TASK的flag。

现已优化以上两个问题

@CLAassistant
Copy link

CLAassistant commented Oct 19, 2018

CLA assistant check
All committers have signed the CLA.

@duyangs
Copy link

duyangs commented Oct 19, 2018

你这个修改在调用时有什么使用上的区别吗?

@fxlcy
Copy link
Author

fxlcy commented Oct 23, 2018

navigation加了一个参数是Fragment的重载方法

@RanchoYue
Copy link

fragment 跳转到 Activity, 在fragment中获取onActivityResult 急需这个fix

@TenXu
Copy link

TenXu commented Feb 21, 2019

很强,很棒

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

Successfully merging this pull request may close these issues.

6 participants