Update SegmentedButtonPreference
1. Use map instead of list for buttonSetupData, buttonVisibilityData and buttonEnableData. 2. Use notifyChanged when update UI. 3. Move applyCheckIndex(checkedIndex) after clearOnButtonCheckedListeners, so the listener won't be triggered when we call "setCheckIndex". Bug: 399532172 Test: local tested Flag: EXEMPT ui fix Change-Id: Ia8d4e2859ae21d57dabce44813ce91277fdc7f0c
Loading
Please register or sign in to comment