Answer the question
In order to leave comments, you need to log in
Andoid synchronized, volatile is it necessary?
The application uses a class that stores all the data that is taken from the network. For almost every action, we go to the Internet through AsyncTask, parse the response and put it into this class. Naturally, since each request to the server goes in a separate thread and then saves this data, the next one running on a different core can see the old data. Am I right or does AsyncTask solve this problem somehow?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question