xamarin.forms - xamarin forms Slider doesn't distinguish between changing Value in code vs UI change of slider position -


in android slider, progresschangedeventargs has fromuser property.

in xamarin forms slider, there seems no way 1 can distinguish between changing slider's value in code vs moving slider knob. because functionality not in ios's uislider?

short of embedding native controls, there way achieve functionality?

the way achieved sending message when slider touched using messagingcenter. created custom renderers ios , android. in android send messages in starttrackingtouch , stoptrackingtouch seekbar. on ios believe used alltouchevents event fine purposes.

another method if value changing model, send event viewmodel rather change value directly (which bad design anyhow if value changing in model , model can access viewmodel.) in case needed know when slider touched because value changing network , needed invalidate network responses period user did not experience slider jumping around.


Comments

Popular posts from this blog

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

wordpress - (T_ENDFOREACH) php error -

Using django-mptt to get only the categories that have items -