Hi,
I have an inheritance structure:
currentWeathItem inherits from hourBasedWeatherItem inherits from weatherItem
I use this during the main view. Saying this, in the hourBasedWeatherItem class things are done which are neither needed for the glance view nor for backgrounding. I would like to cut this out somehow to save memory (for the glance view) but also to save battery (since some calculations in the initialization processes of the classes would not be needed).
Is there a design pattern for that?