drabu / policy-based-repo-android Goto Github PK
View Code? Open in Web Editor NEW🚀Policy based pattern is simple approach where you can align your data sources in a simple queue and pop the queue untill you get the required data. You can rearrange order of the data-sources and label them as policies so now your UI can request data in policies and all of it without any spaghetti code