Friday, January 4, 2013

Re: [android-developers] Re: setting app theme at runtime

On Fri, Jan 4, 2013 at 5:15 PM, dashman <erjdriver@gmail.com> wrote:
// then call either one of the lines below - not sure which one is better
        super.onBackPressed();
       
        //finish();
    }

Same diff. I believe super.onBackPressed() just calls finish() (you can check this easily).
 
the only problem i have is that onBackPressed() is API5 and am trying to maintain compatiblity with API4.

http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate