I have a json file. So, I was parsed the json file and I want to share jsonarray.length() value all the classes in application. So, what is recommended way to do that??
Option 1: you can set it public static
Option 2: you can store it in a SharePreference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With