如何从fragment中启动另外一个activity

2025-04-15 06:50:01
推荐回答(1个)
回答1:

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