Nov 25, 2022 Replies: 8 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 fsPreferencesB4a_v3.00.zip 45.9 KB · Views: 633 Example_v3.00.zip Example_v3.00.zip 10.6 KB · Views: 609 fsPreferencesB4a.png 42.2 KB · Views: 893 Last edited: Nov 25, 2022 Click to expand...
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
Toky Olivier Active Member Licensed User Longtime User May 28, 2023 #2 Hello Filippo, is it possible to have an Onchange event for List preferences? Thank you
Toky Olivier Active Member Licensed User Longtime User May 31, 2023 #3 Can you please tell how to Delete a preference using this library? Thank you.
Filippo Expert Licensed User Longtime User Jun 1, 2023 #4 Toky Olivier said: Hello Filippo, is it possible to have an Onchange event for List preferences? Thank you Click to expand... 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. Toky Olivier said: Can you please tell how to Delete a preference using this library? Thank you. Click to expand... 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 said: Hello Filippo, is it possible to have an Onchange event for List preferences? Thank you Click to expand... 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. Toky Olivier said: Can you please tell how to Delete a preference using this library? Thank you. Click to expand... 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 Jun 2, 2023 #5 Hi, In reality, I used this library of @corwin42's https://www.b4x.com/android/forum/threads/preferences-material-design-preferences.75482/ in many of my apps before and they are implemented in his wrap (and I assume you both wrapped the same or similar library) and I use them, so that's why I asked. Actually, I changed my implementation using your library so it works but yes, sometime I need them.
Hi, In reality, I used this library of @corwin42's https://www.b4x.com/android/forum/threads/preferences-material-design-preferences.75482/ in many of my apps before and they are implemented in his wrap (and I assume you both wrapped the same or similar library) and I use them, so that's why I asked. Actually, I changed my implementation using your library so it works but yes, sometime I need them.
Filippo Expert Licensed User Longtime User Jun 2, 2023 #6 Toky Olivier said: (and I assume you both wrapped the same or similar library) Click to expand... Just for your information. My library is not a wrapper, I programmed everything with B4x only.
Toky Olivier said: (and I assume you both wrapped the same or similar library) Click to expand... Just for your information. My library is not a wrapper, I programmed everything with B4x only.
Toky Olivier Active Member Licensed User Longtime User Jun 2, 2023 #7 This is Filippo said: Just for your information. My library is not a wrapper, I programmed everything with B4x only. Click to expand... 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.
This is Filippo said: Just for your information. My library is not a wrapper, I programmed everything with B4x only. Click to expand... 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 Jun 3, 2023 #8 Toky Olivier said: 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. Click to expand... Is not necessary. You can do everything with "setString" and "getString".
Toky Olivier said: 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. Click to expand... Is not necessary. You can do everything with "setString" and "getString".
Toky Olivier Active Member Licensed User Longtime User Jun 3, 2023 #9 It was just a proposition. ? For my case, I adapted to my need. Thank you