In a data list, the results are usually sorted on a relevant field to help the user find the desired data quickly and easily. Another trick to make the reading clearer is to group the results by adding sections.
Something that is possible since 4D v19 R8. Let’s delve into the details!
You have a section field in the list form templates. Drop a field you want to use in the mobile editor as a section.
For this example, we have created a computed attribute returning the first letter of the last name. Then we use this computed attribute as a section.
exposed Function get initialLetter() : Text
Now you have to build the application.
And after that…
See the documentation for more details on the possibilities of 4D for Android.