Sample code for not consumed events when Lifecycle ends.
The View class generates an event where both Feature and Analytics classes consume it. As a result of this input, the Feature class generates a news event that calls the Lifecycle'send method. As this operation unbinds the bindings, and the view to feature binding comes before the view to analytics binding, the Analytics class never gets the event generated by the View class.
Sample code for not consumed events when Lifecycle ends.
The
View
class generates an event where bothFeature
andAnalytics
classes consume it. As a result of this input, theFeature
class generates a news event that calls theLifecycle's
end
method. As this operation unbinds the bindings, and theview to feature
binding comes before theview to analytics
binding, theAnalytics
class never gets the event generated by theView
class.