mvvm cross v3 に切り替えたので、コードのメンテナンスを行っています。以前のバージョンでは、このようなバインディングをいくつか行っていました
this.AddBindings(
new Dictionary<object, string>()
{
{ this.TopbarBackground, this.UmbracoImageBinding("TopBarImage") },
{ this,this.Binding("ShowProgressbar","FeedbackIndicatorVisible")}
});
ただし、v3 で { this,this.Binding("ShowProgressbar","FeedbackIndicatorVisible")} を実行する際に問題が発生しています。ShowProgressbar は uiviewcontroller のプロパティで、FeedbackIndicatorVisible はビューモデルのプロパティです。どちらのプロパティも bool 型です。このようにしてみました.CreateBinding().For("ShowProgressbar").To("FeedbackIndicatorVisible").Apply(); しかし、彼はMvxTargetBindingFactoryRegistry に渡された Empty バインディング ターゲットを提供します。
どんな提案でも大歓迎です。