我想实现一个屏幕,Activity
和所有其他sreens与Fragments
和managing all the fragments thru the activity
.
这是个好主意吗?我的答案是否定的,但我仍然想更清楚地了解这个想法.
这个想法的优点和缺点是什么?
注意:
请不要给我片段和活动的链接.
编辑:
这是碎片和活动的一部分:
优点:
缺点:
如果我们不考虑平板电脑,为什么要使用碎片?活动和片段之间的起始时间差是多少?
android android-layout android-lifecycle android-fragments android-activity