Open dmdevgo opened 6 years ago
A good idea. But when implemented as a separate dependency.
Separate dependency will add a headache IMO. Because we cannot set internal access modifier to the fields and methods of separate module. Also, I don't see the big benefit from this split. This feature will add a few methods max.
RxPM focuses on solving practical problems of the presentation layer. Such features as DialogControl or dispatching of navigation messages save us of many problems and boilerplate code. Processing of permissions is the same problem. Although there are many libraries, like RxPermissions, but many difficulties arise when trying to embed them in the PresentationModel. So I think it would be convenient to have a solution out of the box.