我試圖將ImageView綁定到byte []。使用MvvmCross在Android上將一個字節[]綁定到ImageView
<ImageView
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_weight="1"
local:MvxBind="Bitmap CaptchaImage, Converter=InMemoryImage"
android:id="@+id/imageView1" />
我使用的是從照片拍攝爲指導教程: https://github.com/MvvmCross/MvvmCross-Tutorials/tree/master/PictureTaking
但圖像沒有顯示。 什麼可能是錯誤的?
PS:我在Android應用程序中添加了NuGet中的MvvmCross.HotTuna.Plugin.PictureChooser,但仍然無法工作。 –