Maybe make it static?

On Monday, August 13, 2012 12:28:43 AM UTC-5, Sadhna Upadhyay wrote:
>
> 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 [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

Reply via email to