I was wondering, I"m looking to add update button in my fragment which when user click will check if updates available or not .
I"m looking for solution on How to acess json file from url and check if json value contains new value or not . if key matches to the already specified value then display message you data has been updated and if not then display No updates availaible.
For Example if below is the json file
[
{
"updateKey": "1"
}
]
and if it contains other then 1 then show toast message with updates availaible.