RIBs
RIBs copied to clipboard
[android] handleBackPress()
Shouldn't backpress be propagated down to the lowest child interactor instead of the interactor associated with the RibActivity which is RootInteractor?
Message propagation is the responsibility of the developer — you are free to handle it as you see fit, while making use of the architecture that RIBs provide (e.g. you can unmount an entire subtree) and relevant patterns such as Rx Observables.
Is there have any example? i would want to know the way which propagated down to the lowest child interactor or Creating a Observable object let the interactor subscribe it? like what you said we dont wanna break downb the structure of Ribs, im finding the way can only few ribs implement onBackPressed, it can allow us to back the first view of scope, anyway thanks for ur help, i would like to implement the structure of Ribs however the information and solutions what internet can provide is so less
Yes please can someone provide canonical examples? #304
Bump