Activity怎么更新fragment的UI界面

2025-03-11 11:45:15
推荐回答(1个)
回答1:

在activity的onCreate里面加载默认的fragment,或者直接在layout里面写fragment1。activity是不能跳转到fragment里面的。