You stuffed all your phone book entries into the Listviewer in the Designer.
I coded some attempts to extract the names and numbers from the ListViewer Elements list at run time in my Companion, to give you a CSV extract you could load from the Media folder at run time and extend with a third column for WhatsApp numbers, but the Right To Left encoding is breaking CSV conversion.
My objective is to divorce blocks from data details.
Your block count should not grow with your data count.
Find a spreadsheet that can handle mixed Right to Left text and fill three columns with
- name
- phone number
- Whatsapp info
Do not attempt to make decisions based on selectionIndex, because you will eventually need to delete items from your contact list and that would move up all the index numbers.
Put your data in the table.
Your horrible blocks:
