You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used binding to update product price on Xamarin Android UI on real time update through web socket.
But these is one issue, when I use expression string to string like below it works fine. But not working when I have left side string with double on right side.
Working:- temp.Add(Binding.Create(() => listHolder.FirstRightTextView.Text, () => data.LastPriceStirng)); Not Working:- temp.Add(Binding.Create(() => listHolder.FirstRightTextView.Text, () => data.LastPrice));
data model has string LastPriceStirng; double? LastPrice;
Error Message:
The type arguments for method 'Binding.Create(Expression<Func>, Expression<Func>, params object[])' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Can you please suggest how to resolve this issue?
The text was updated successfully, but these errors were encountered:
Hi ekalchev,
I used binding to update product price on Xamarin Android UI on real time update through web socket.
But these is one issue, when I use expression string to string like below it works fine. But not working when I have left side string with double on right side.
Working:- temp.Add(Binding.Create(() => listHolder.FirstRightTextView.Text, () => data.LastPriceStirng));
Not Working:- temp.Add(Binding.Create(() => listHolder.FirstRightTextView.Text, () => data.LastPrice));
data model has string LastPriceStirng; double? LastPrice;
Error Message:
The type arguments for method 'Binding.Create(Expression<Func>, Expression<Func>, params object[])' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Can you please suggest how to resolve this issue?
The text was updated successfully, but these errors were encountered: