Android Question TabStrip Activities

yiankos1

Well-Known Member
Licensed User
Longtime 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
Longtime User
Upvote 0

yiankos1

Well-Known Member
Licensed User
Longtime User

Attachments

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

Erel

B4X founder
Staff member
Licensed User
Longtime 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