You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some code is duplicated between DetailsLayoutBrowser.xaml.cs, GridViewBrowser.xaml.csandColumnViewBase.xaml.cs`. Sometimes it's entire methods, sometimes it's only partial bits.
These classes are already inheriting from BaseLayout.cs. The duplicated code may be better hoisted inside this class.
Concerned code
BaseLayout.cs
ColumnViewBase.xaml.cs
DetailsLayoutBrowser.xaml.cs
GridViewBrowser.xaml.cs
Gains
Better maintainability.
No need to do the same modifications thrice when we want to add a functionality to the three views.