Too many Activities in Android?

后端 未结 6 1962
春和景丽
春和景丽 2021-02-13 14:24

When i started my Android project i had a misunderstanding that every screen that\'s shown in the application must be a new activity. Now i am finished with the project , i have

6条回答
  •  逝去的感伤
    2021-02-13 15:10

    It's better to use fragments than activities. We can use multiple fragments in single activity so we should always consider using fragments. I've seen complex applications with 5-6 activities and 150+ fragments.

提交回复
热议问题