Did you consider simply subclassing PreferenceScreen and overriding
some of its methods? There are various methods such as onClick,
onAttachedToActivity, onCreateView, etc., that might give you the
behavior you're looking for.

R/

On Sun, Mar 29, 2009 at 8:42 PM, 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