Android Question Recommended way to handle preferences

rwblinn

Well-Known Member
Licensed User
Longtime User
Seeking for a recommendation how to handle preferences the same way in B4A(i) and B4J using XUI.

The preferences (or settings) are numerous strings and booleans, to be scrolled throught on a page.
The settings are stored in a map file.

A solution could be to create various layouts and add those to a xCustomListView (in a settings page) as items (requires a sub for each item to create and handle and various types). This seems rather complex and high effort.

In B4A there is the Preferences Activity, but this is not supported in B4J.

Any other ideas appreciated?
 

rwblinn

Well-Known Member
Licensed User
Longtime User
I think that xCustomListView is your best option for a XUI based solution.

YES - scribbled in B4J first with few checkboxes and labeledtextfields. Next build final solution for B4A/B4J. The question relates to my atHome project.

 

Attachments

  • upload_2018-10-8_19-59-17.png
    6.1 KB · Views: 99
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…