Sunday, August 12, 2012

[android-developers] prevent from reinitializing value

Hi everybody,
   can someone tel me how to prevent from reinitializing value when activity is re called i mean



    int i=0;
and it became
i=1;
and when i called this activity again from its next activity then i should remain 1 not 0;
   

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