I always heard about to close any activity use finish or use android.os.Process.killProcess(android.os.Process.myPid());
first <: i think that what is exact difference between them ?
second <: what is most preferable thing of them?
third <: some time we lose pass data one activity to second when we pass data through intent, so using finish() or killprocess ,data will be lose?
first <: i think that what is exact difference between them ?
second <: what is most preferable thing of them?
third <: some time we lose pass data one activity to second when we pass data through intent, so using finish() or killprocess ,data will be lose?