Skip to main content
mattstein
Associate II
Jul 25, 2019 6:22 PM UTC
Question

Where to implement general behavior

Hi there,

I understand the MVP architecture and I like it. However I'm not sure where to implement event handling that shall be always active. E.g. an alarm event occurs and regardless the current screen, the application shall switch to a specific alarm screen. Shall I implement a super presenter and derive from it? Or call a general presenter from all other presenters if they couldn't handle the incoming event? This call could be forgotten...

​

Thanks for any hint!​

This topic has been closed for replies.

2 replies

CKauf
Associate II
Jul 26, 2019 7:27 AM UTC
mattstein
mattsteinAuthor
Associate II
Jul 26, 2019 7:48 AM UTC

Thanks. It's not completely what I need, but I replied in that thread.