I need to perform some action as soon as we press back key when progressDailog is in progress
I use progressDailog to compute 开发者_如何学编程my data.. But when i press backKey then this progressDailog disappears but computation of data carry on in background... I need to stop this Computation... As obviously when user presses this back key then he doesnt want this computation of data... Can any one help me on this?
You can register an OnCancelListener and stop the computations there.
精彩评论