Hi all , i am making an http request. it works fine . I am showing a progress dialog while connection is in progress. Now when user press cancel on progreess dialog the request should be cancelled.
The pb here is my response data is very small . on cancelling pg bar i am deleting my request . But the response is so small that manytimes it completes although cancel is pressed. How to handle this situation correctly.
If there is some confusion in my question let me know i will try to clarify....