How do you know that "i" is equal to 1 on screen A and "i" equal to 2
on screen B? Where do you set it? Can't you check there directly?

Have you looked at the API demos for PreferenceActivity?

Peli

On Mar 30, 5:42 am, Noam <noam.ha...@gmail.com> wrote:
> Thanks Peli for your contribution to my problemo.
> The default for the integer "i" will be 1.
> I have two PreferenceScreens - A and B.
> Whenever the user is on PreferenceScreen A, "i" will be equal to 1.
> Whenever the user is on PreferenceScreen B, "i" will be equal to 2.
> Basically, I want to know when the user is on PreferenceScreen A, and
> when he's on PreferenceScreen B.
>
> If I still need to clarify, please tell me what you don't understand.
>
> Thanks,
> Noam.
--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to