@kael2002 and @zhaoxueliang did you guys found any root cause for it ?
I am also getting this crash in huge nos.
Post
Replies
Boosts
Views
Activity
Hi @thanat0sis I have same kind of situation with different use case.
Can you please help me if you know any solution.
If I have one AF session with 'DataRequest` for a url http://xyz1.com/profile is already called in AF session
same time some other thread also called same above url same time
both are called async so after completion of their individual task, then only they will get json data to parse and update UI.
My question here is :- If some instance of viewModel has called url "http://xyz1.com/profile" and some other viewModel also called same url same time, so AF should discard/cancel the new API request for same url (since that is already hit for getting data from remote).. but once completion is called for first API request and data saved on local (we support caching) then it should notify the other place for which the API call was cancelled so that other viewModel should get notified that so that the other viewModel reload self from Cache as remote API for the same done and cache is updated.
I hope you got the question.
Kindly guide.
thanks in advance.