Android returning old values from database

87 views Asked by At

Im using a web service that sends json to my android app. After i update/post a record in the database then i try to get the record it still returns the old value and not the new value. The database is showing the correct data and i tested postman and it works. I use volley in android to recieve json request and its the old value. Ive tried disabling cache in volley. Why would it not get the current data from the database? Or how can i force it to get the latest data from the database.

Postman results {"CFirstName":"Tim","GoldStar":"5","Teacher":"May"}

Android-volley results{"CFirstName":"Tim","GoldStar":"15","Teacher":"May"}

0

There are 0 answers