简体   繁体   English

如何将多种活动合而为一

[英]How to fit many activities in one

I developing an android app - schedule for school. 我正在开发一个Android应用-上学时间表。 I should make a schedule for 50 forms in school. 我应该为学校安排50张表格的时间表。 Main screen - activity with buttons which could transfer you to schedule of form. 主屏幕-具有按钮的活动,可以将您转移到表单时间表。 1 form = 1 activity with TabWidget. 1个表格= 1个使用TabWidget的活动。 Total - 50 activities. 总计-50个活动。 How I can do that in single activity? 我如何在单项活动中做到这一点?

Use just one Activity . 仅使用一个Activity You don't need 50 activities or 50 fragments. 您不需要50个活动或50个片段。 You just have 50 different sets of data. 您只有50套不同的数据。 This is a data problem, not a presentation problem. 这是一个数据问题,而不是表示问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM