Closed axa88 closed 3 years ago
Could you share the code you tested? (Providing the project file helps us a lot. :-))
Actually, CheckBox
and Switch
is not a part of the CircularUI, but let's check.
Actually, CheckBox and Switch is not a part of the CircularUI, but let's check.
Of course you are correct, im only using forms with CircularUI now so i am narrow minded.
(Providing the project file helps us a lot. :-))
Understood. I need to concider how to share without exposing any closed api information. Creating sanitized examples takes much time...
@axa88 Hi, I can't reproduce it It is working well
Here is my test code https://gist.github.com/myroot/5d483638ebb4d7ac39aa3b6416d55ad9 CircleListBinding.zip
Please remove Scale
on CheckBox, It seems issue related Scale
property
@myroot
Scale
property should not be used for CheckBox
, or should not be used with Galaxy wearable at all?
Regardless i have checked your example and see it working with and without Scale
used.
I will try to close and reopen new issue if i see a problem.
thanks for quick response.
@axa88 It's only CheckBox
issue
Describe the bug Objects such as
Switch
,CheckBox
implementingINotifyPropertyChanged
notification and bound to backing data does not for UI redraw when bound data is updated.UI objects
Label
andCheckBox
are utilized in the list cells of aCircleListView
, and it is found that only when the backing data of theLabel
will force a UI update, theCheckBox
does not. To see the change you will have to touch the screen forcing a redraw. That should not be necessary.To Reproduce Create a
CircleListView
withItemSource
cells bound to aLabel
bound to backing data and aCheckBox
orSwitch
bound to backing data both implementingINotifyPropertyChanged
triggeringOnPropertyChanged
.and creating
CheckBox
orSwitch
and binding it to the view model:Note Items are not Added, Removed, Moved ect, from the
ObservableCollection
, and i do not wish to force to list to redraw entirely, only the updated items.ItemCollection = new ObservableCollection<ListCellViewModel>();
Members of
ListCellViewModel
:When only the
CheckBox
data is updated, the screen will not redraw until something else forces it to redraw such as scrolling the list.Expected behavior It is expected backing data should be able to update a listview items without manual interactoin when its binding data updates as it does in this
Label
:But it does not with a
CheckBox
orSwitch
:Environment (please complete the following information):