architecture-samples icon indicating copy to clipboard operation
architecture-samples copied to clipboard

[todo-mvp] Why use fragment?

Open xieliuhao opened this issue 2 years ago • 4 comments

I found that an activity in the project will create a fragment correspondingly. What are the benefits of this? I don't think fragments are necessary. image image

xieliuhao avatar Jun 11 '22 14:06 xieliuhao

https://medium.com/@huseyinozkoc/android-fragment-with-all-aspect-ebb488e9cf01 https://medium.com/androiddevlopers/introduction-to-fragments-in-android-1f8f484e6a6b

anismarzouk808 avatar Jun 11 '22 18:06 anismarzouk808

Expandable?

chanjungkim avatar Jun 14 '22 01:06 chanjungkim

The fragments are necessary, the activities aren't.

Zhuinden avatar Jul 27 '22 11:07 Zhuinden

邮件以收到,谢谢!

bravekingzhang avatar Jul 27 '22 11:07 bravekingzhang