xamarinxamarin.iosmvvmcrossffimageloading

MVVMCross IOS assets binding to cell


I have a table data and images to assets folder. I need to bind image by name from assets to TableCell How can I do it?

I've found old solutions for MVVMCross.Binding 5.7.0 with MvxImageViewLoader, but when I added it to solutions I got references duplicate. I realized that I can use converter for that, but I want to try avoid converter usage.
Also I can use ffimageloading package, but I didn't find any solution for it.


Solution

  • There is more simple that I've thought. Only 3 steps:

    The first one:
    set custom class for UIImageView enter image description here

    The second one:
    Create an outlet for UIImageView. Pay attention to type. enter image description here

    And The third one:
    bind URL
    enter image description here