Sudhanshu Gaur
Jul 20, 2017 · 1 min read

Very nice article Yonatan V. Levin , I just wanted to know two things.

First one - (Consider this scenario where a user submitting the order but suddenly he/she closes the app and by closing the app i mean remove the app from apps list ) now how are you making sure that your Intentservice is not going to get killed because if it gets killed in the middle of getting the response from the server then how would you tell SyncOrderService to reschedule the event.

Second one — (Consider this scenario where suppose a user submits the order and as your server is processing your request the user submits the order request again(by closing and opening app again or whatever) now as IntentService is single threaded how are you going to look for this case because if user submits multiple requests then don’t you think you must have used service(multiple threaded) which will process all requests all at a time).

)
    Sudhanshu Gaur

    Written by

    Co-Founder - Khaalijeb