Android Question How to best separate my code, nedd counceling

Cableguy

Expert
Licensed User
Longtime User
Hi Guys

I'm re-starting an old project, and I need to make it as scalable as possible, so I'll be creating a few CustomViews..
These will be used to show specific info retrieved from an html page. I will be having something like 40 same type CustomViews.
My question is:

What is more efficient and scalable, to pass the HTML to the CV and let each CV find it's pertinent info, Or in the main code separate it and pass only the necessary part of the HTML?
The way I see it, the first would be more easily managed, as if needed, the changes would happen in the CV part, not in the main code, so it should be more easily scalable...
The second one, should be more time/memory efficient...

What do you guys think?
 

Cableguy

Expert
Licensed User
Longtime User
I believe that at max my HTML will be about 65K characters long...
 
Upvote 0
Top