Hi there i have little problem and i dont know how to solve it(i know but i dont know its the best way)
onDestroy() is called when an activity finishes its life cycle.
public void onDestroy()
and magic happens on application start it calling onDestroy and killing it ,if i remove this “killProcess” ,app will be still running lovely…
I thought i make boolean initialOnDestroy so i skip first onDestroy call.But i think its kind stupid.
I want to know why is this happen?
Anyone can help me?
Thanks in advance.