Organizing a VERY Large Project

pixelpop

Active Member
Licensed User
Longtime User
I have a very large project, both in screen size (1920 x 1080) and amount of code. I currently have a single Activity with various panels that are hidden and revealed when a button on the main Activity is clicked. Each panel has it's own functions to accomplish and data to display. Putting everything in this Activity is getting unmanagable. What I would like to do is have my main Activity and a series of modules that can be called when a button on the main Activity is clicked.

Of course, the problem is that views cannot be defined or manipulated outside of an Activity. I'm looking for suggestions on how to break this project up into modules that can perform functions and affect the appearance of the main Activity.
 

sorex

Expert
Licensed User
Longtime User
Why not create a code module for each frame to split to code as much as possible?

Indeed, it's a mess that you need to supply each view to the sub call, I also would like a more straight forward way then this.

Not sure why it is worked out like that tho. (the include thread comes in mind again here)
 
Upvote 0
Top