But so when it goes back to teh original y doesnt it call onCreate()? it almost looks like its taking an activity from cache?
On Feb 2, 1:34 pm, Dianne Hackborn <[email protected]> wrote: > What it does is simple: if nothing in the view hierarchy consumes it, the > activity in response to receiving it just calls finish() on itself. > > > > > > > > > > On Wed, Feb 2, 2011 at 11:40 AM, kiros88 <[email protected]> wrote: > > Hi i was wondering what the back button really does okay so its kinda > > confusing but here is the problem? > > > i have 2 tabs and another page of intent so my app acts like a music > > palyer basically that once u click on the song it brings u to another > > page. but on the first tab i have a seekbar thats like volume so i > > adjust taht click on a song then i use intent to go to another page > > which now has a volume seek bar that also is changed based off the > > first tab adjustment soo i tried the > > > public static int vol > > > then on the intent pge i adjust the volume so that i changes the value > > > firstTab.vol = getprogress() something like this > > > but when i click the back button it doesnt update on the oncreate like > > it should > > i know the value is changed though cuz like i said i have 2 tabs so > > the second tab doesnt really do anythng i just go to that tab and go > > back to the first tab and then the volume on the seekbar changes? > > so my main questions is why isnt the back button updating the oncreate > > i know that if u did backbutton i does changes things like when u make > > ur own custom arrayAdapter u can have a change on an item when u back > > button it but like for this example wit the seekbar its not > > updating??? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%2Bunsubs > > [email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

