I have been trying to develop an in app billing feature in my app and even though using headless fragment to actual do the in app billing, makes more sense after seeing this - http://androidsrc.net/handle-android-asynctask-configuration-change-using-fragment/
I am not sure, how to handle the scenario where the original activity which held the headless fragment and invoked the Async task for in app billing purchase, is completely killed (while the purchase was in progress) and a completely new and different activity has been started by user.
My activity doesn't allow rotation, but I know configuration changes can occur due to various reasons + the user can also completely switch over to different activity. How to handle that scenario?