In the Configuration Intent with dynamic values, there is an option to allow the user to select multiple values. In my use-case, the widget can handle the display of up to 3 values, but no more. Is there a way to tell the system to only allow selection of 1, 2 or 3 values?
Multiple Selection in Configuration Intent
Not sure there is, built-in, but you could add three parameters in the intent definition, and let the user select up to 3 items.
Item1
Item2
Item3
You can then handle what values they've picked in the code.
Item1
Item2
Item3
You can then handle what values they've picked in the code.