B4A Library fsPreferences ( PreferenceMenu + PreferenceManager)

Hi,

I hereby make my updated library available to all.
In the example all necessary functions are included.

The file "fsPreferences.xml" and "fsPreferences.jar" must be saved under "C:\Program Files\Anywhere Software\B4a\Extern-Library" or similar.

You can make each entry dependent on another entry, and it doesn't matter if it is the first or the last entry.

You can find the version for B4i here.

For questions or help, please write here.

Ciao,
Filippo
 

Attachments

  • fsPreferencesB4a_v3.00.zip
    45.9 KB · Views: 172
  • Example_v3.00.zip
    10.6 KB · Views: 174
  • fsPreferencesB4a.png
    fsPreferencesB4a.png
    42.2 KB · Views: 335
Last edited:

Toky Olivier

Active Member
Licensed User
Longtime User
Hello Filippo, is it possible to have an Onchange event for List preferences?
Thank you
 

Filippo

Expert
Licensed User
Longtime User
Hello Filippo, is it possible to have an Onchange event for List preferences?
Thank you
Hi,
may I ask why you need an "Onchange event"? You can make each preference dependent on another, so that when one changes, the other changes automatically.

Can you please tell how to Delete a preference using this library?
Thank you.
It is not necessary to delete anything. If a preference is to be deleted, then simply do not show it next time in the settings.
 

Toky Olivier

Active Member
Licensed User
Longtime User
This is
Just for your information. My library is not a wrapper, I programmed everything with B4x only.
Good to know. That's nice. Would you like to add Get/SetInt, Get/SetDouble? I "wrapped" library into another class to have them and another subs that I need.
 

Filippo

Expert
Licensed User
Longtime User
This is

Good to know. That's nice. Would you like to add Get/SetInt, Get/SetDouble? I "wrapped" library into another class to have them and another subs that I need.
Is not necessary.
You can do everything with "setString" and "getString".
 
Top