Tuesday, May 15, 2012

Re: [android-developers] Conditional PreferenceScreen

In your MainPreferences file you should be able to enable/disable the preferences based on your global variable...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, May 14, 2012 at 8:35 AM, Giuseppe <porcelli.giuseppe@gmail.com> wrote:

I have multiple PreferenceScreen in my Main Preferences and for some of them I need to check from a global variable if the user is enable to open this.

How can I conditionally block the opening of a PreferenceScreen during the onClick Event?

Return false don't work.

Thank you.

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

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