📜  将数据从活动传递到片段 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:38.510000             🧑  作者: Mango

代码示例2
@Override
 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    String myValue = this.getArguments().getString("message");
    ...
 }