Hi,
if in an AsyncTask
I execute:
protected List<Tender> doInBackground(....{
tenderConnector.checkAndCreateTender("MyTender",getPackageName(), true, false);
tenders = tenderConnector.getTenders();
}
Then the tenders
list does not contain the just created "MyTender". However the custom tender is present when the I do get tenders from the web API. The getTenders
call returns the new tender if it is executed about 2 seconds later. Is it normal situation? I did not encountered (also I did not searched for) such a problem with the OrderConnector for example.
Please correct me if my assumptions are wrong. I thought that checkAndCreateTender is a blocking call.
Note: This is currently on an emulator, I did not test it on the Devkit yet.
Thank you, Ondrej