:XXX、YYYはSchedulers
ある更新ビュー - 私は次のコード持っている反応性機能拡張
Observable.Interval(TimeSpan.FromMilliseconds(2500)).SubscribeOn(XXX).ObserveOn(YYY).Subscribe( t => SendCounter(t), e => HandleException(e));
。
Inside SendCounter(t)t値のテキストを設定しました。
問題は、私は、コードを実行したときに、私はこのエラーを得たことである:
'only the original thread that created a view hierarchy can touch its views'
私はこのコンポーネントを使用しています:https://components.xamarin.com/view/rxforxamarin
[エラーの可能性の重複:ビュー階層が触れることができます作成しただけ元のスレッドにそのビューでは、xamarin](http://stackoverflow.com/questions/21162096/error-only-the-original-thread-that-created-a-view-hierarchy-can-touch-its-view) – SushiHangover
あまりにもわからないxamarinでObserveOn()とSubcribeOn()を自分で使用するScheduler.NewThreadを試みましたが、廃止予定ですか? –