Android library for displaying data based on JSON configuration fetched from server. With this library, you can kiss goodbye to string.xml, dimen.xml, arrays.xml. Keep all your string/integer/array config in one file. The library will automatically fetch the data from the url you provide.
How it works?Have you ever had to work on an app, make it production ready and upload it to PlayStore. Then there comes a tiny modification where you need to change the text in a screen or the color of a button in another screen? Or perhaps we need to change the number of times a certain background task should run? Or maybe change the time a certain task is executed? Or maybe your case is similar to mine and we need to keep the error messages and the default app messages the same as displayed in the web. Or in the ios version of the app. So there is a single file that all 3 systems can reuse. For example, all my app messages are kept in string.xml file. Suppose they were kept in a json file in the backend. And everytime the app is opened the latest data is downloaded and cached locally in the app.
For example, in the sample app, you will see the url that I have given is https://s3-ap-southeast-1.amazonaws.com/android-optimize/optimize.json This is used to fetch my data from the backend asynchrously and cache it in app. Everytime the app is opened the data is fetched and based on the whether the content is changed or not, the data is cached locally. Note: The library is implemented using the Work Manager API provided by Google.