Android Question TabStrip Activities

yiankos1

Active Member
Licensed User
Hello,
I use a TabStrip with 5 pages.

Question 1: all code of these 5 pages should be written at Main Activity? Is there any way to use other activities, in order to be more maintainable.
Question 2: if i fetch all data simultaneously (timeline, search, notifications, profile), i think it will cause ootd memory problem.

What is best solution about this kind of applications;
 

DonManfred

Expert
Licensed User

yiankos1

Active Member
Licensed User

Attachments

Erel

Administrator
Staff member
Licensed User
Question 1: all code of these 5 pages should be written at Main Activity?
No. Use classes.

Question 2: if i fetch all data simultaneously (timeline, search, notifications, profile), i think it will cause ootd memory problem.
Hard to believe that it will make any difference.
 

yiankos1

Active Member
Licensed User
Hard to believe that it will make any difference.
So, if i use seperate activities or different tabs, its about same cost at memory?
 
Top