Search code examples
javaandroidandroid-activitytimetable

How to fit many activities in one


I developing an android app - schedule for school. I should make a schedule for 50 forms in school. Main screen - activity with buttons which could transfer you to schedule of form. 1 form = 1 activity with TabWidget. Total - 50 activities. How I can do that in single activity?


Solution

  • Use just one Activity. You don't need 50 activities or 50 fragments. You just have 50 different sets of data. This is a data problem, not a presentation problem.