I have a CustomBinding class that should only update when there is change in the dataSource.
For this, I’m using IDataSourceViewHashProvider.
My initial understanding was that I should just set the updateTrigger to BindingUpdateTrigger.OnSourceChanged, then use the OnDataSourceChanged callback as mentioned in the documentation.
However, it seems like OnDataSourceChanged is only called when the reference in dataSource changes. I was able to confirm this from my tests and from looking at the decompiled code.
The documentation says to use callbacks, but the only example doesn’t, so I’m really not sure of what is the expected workflow here.
Am I missing something?