Why should I use fragment in Android?

后端 未结 3 824
既然无缘
既然无缘 2020-12-20 13:48

For very long time, I think what is the reason of using fragment in Android if I just develop the application for Android Phone only but not 10.1.

3条回答
  •  礼貌的吻别
    2020-12-20 14:08

    If you use Fragment in your application, your apps will support all the device like small device, tablet and even google TV. In one .apk file, we will have different design for various devices.

    This is the best Android tutorial that I've ever found. Section 21 covers fragments

    Refer Here

提交回复
热议问题