最大编号活动在支持Android?编号、最大、Android

2023-09-12 05:35:08 作者:酷似你祖宗

我创建的标签和活动的许多数量和儿童的应用程序activities.But正在一个计算器误差。它的,因为更多的剩余数的stack.Now活性层,我刨到配有独立activities.Near重建,以30项活动将需要的应用程序,我也有更多的功能在activities.So的我想知道是否有任何限制活动的数量。如果 没有的将任何事情发生在应用程序,如果活动的人数超过25如内存问题,stackoverflow.if的的是的什么是在应用程序的活动的数量的限制。

I created an application with tab and many number of activities and child activities.But am getting an StackoverFlow error.Its because more number of layers of activity remaining in the stack.Now am planing it to rebuild with separate activities.Near to 30 activities will be needed for the app and I have also more functionalities in activities.So I want to know is there any limit for the number of activities.If not will any thing happen to app if the the number of activities are more than 25 like memory issues and stackoverflow.if yes what is the limit of the number of activities in app.

寻找好的意见

.Thanks提前...

.Thanks in advance...

推荐答案

我们可以有任意数量的活动,但良好的限制最多为25项活动(如谷歌建议)。我们可以通过使用片段减少活动数量。 我希望这会帮助你。

We can have any number of activities, but good to limit max to 25 activities (as Google suggests). We can reduce number of activities by using Fragments. I hope this will help you.