setButtonModules

fun setButtonModules(buttonListModel: ButtonListModel)

Configures and displays a list of buttons in the bottom layout of this view. This method clears any existing buttons, then generates and adds new buttons based on the provided ButtonListModel. The appearance of the buttons (style, max width) is dynamically adjusted based on the current theme (light/dark) and the number of buttons.

Parameters

buttonListModel

The ButtonListModel containing the data for the buttons to be displayed, including their text, content descriptions, click listeners, and style.