将捆绑包从一种意图转发到另一种意图 [英] Forward bundle from one intent to another
本文介绍了将捆绑包从一种意图转发到另一种意图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种方法可以将意图包从一种意图传递到另一种意图,而不必提取该意图包并单独处理每个额外的意图?
Is there a way to pass an intent bundle from one intent to another without having to extract the bundle and handle each extra individually?
示例:
intent2.setExtras(intent2.getExtras());
推荐答案
有一个专用功能
Intent.putExtras(捆绑包)
Intent.putExtras(Bundle extras)
希望这会有所帮助 Serge
Hope this helps Serge
这篇关于将捆绑包从一种意图转发到另一种意图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文