Pass intent to my fragment

前端 未结 2 1705
孤城傲影
孤城傲影 2021-01-15 13:35

I have implemented the NFC foreground dispatch in my Activity. The code works fine, when the NFC tag get close to my phone, the onNew

2条回答
  •  余生分开走
    2021-01-15 13:53

    I figured out that Intent is an parcelable object, I can use bundle.putParcelable() method to pass the intent instance to the next fragment.

提交回复
热议问题