Source code consolidation
Closed this issue · 0 comments
LalitMaganti commented
In the app ATM there is huge potential for consolidating various files:
- In XML, most of the list fragments are identical and should be able to be merged
- The infinite scrolling code in news, quotes, mentions, messages and threads is essentially identical and should be merged
- Quote and mention fragments are very close and there is potential to merge
The above are very simple to do - it's simply a matter of pulling code out and reusing it in various places
A bit more complex ideas are below:
- The list adapters have a huge bunch of code in common - figure out some way to consolidate this
- The list fragments also have a lot of common code - much of this can be consolidated as well.