Commit 0ba5fb2
committed
Ensures picker selection updates on UI thread
* Addresses potential threading issues by ensuring picker selection changes and event invocations occur on the UI thread.
* Enhances robustness by adding null checks for the associated UI element.
* Refines the update logic to prevent unnecessary or redundant assignments to the UI element's selected item.1 parent 5d757cd commit 0ba5fb2
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
441 | 448 | | |
442 | | - | |
| 449 | + | |
443 | 450 | | |
444 | | - | |
445 | | - | |
| 451 | + | |
446 | 452 | | |
| 453 | + | |
| 454 | + | |
447 | 455 | | |
448 | 456 | | |
449 | 457 | | |
| |||
0 commit comments