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
Upvote 0

yiankos1

Active Member
Licensed User

Attachments

  • test.png
    test.png
    6.7 KB · Views: 71
Upvote 0

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.
 
Upvote 0
Top