Closed pverscha closed 7 years ago
Right now both MainActivity and OverviewFragment hold a reference to a complete list of Loyalty cards. This is however undesirable as it's very hard to keep both lists synchronized and it encourages bad practices.
Fixed! A new design pattern now removes the tight coupling between MainActivity and OverviewFragment.
Right now both MainActivity and OverviewFragment hold a reference to a complete list of Loyalty cards. This is however undesirable as it's very hard to keep both lists synchronized and it encourages bad practices.