Xamarin Forms - ImageButton Source Binding Issue with CollectionView

MAGIC MAGIC 121 Reputation points
2021-08-02T17:37:40.67+00:00

Working on an app. I created a CollectionView to display a list. I have the Model wired to it. I created an ImageButton. Works fine with Android but the image is not displaying on iOS.

I was trying to bind the source but I receive an error:

  • "BindingContext" not found on "....Models.Movies".

Any idea how to resolve? I want to pull the image from images folder. Instead it is pulling from drawable on Android. Need this to work for both iOS and Android.

Thx

119906-sample.png

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,300 questions
{count} votes

1 additional answer

Sort by: Most helpful
  1. MAGIC MAGIC 121 Reputation points
    2021-08-02T22:01:49.513+00:00

    Here it is.

    119974-modelmovies.png

    0 comments No comments