Sunday, July 21, 2013

[android-developers] finish() method of an activity inside of oncreate() and onpause() behaves differently. why?

Hi,

when i call finish() methode inside of the oncreate() method of an activity then after it ondestroy() method work ( means activity finish without calling any other call back method ).

but when i call finish() method inside the onpause() method then  it call series of callback method (means it call onstop then ondestroy() )

why? 

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate