Skip to main content

All Questions

1 vote
0 answers
59 views

'Specified cast is not valid' when I reload listview items - Xamarin Forms

I'm trying to make an app that saves subjects into an SQLite database and I'm facing an exception: 'Specified cast is not valid'. That happens when I reload the listview items. (SubjectViewModel....
bmartin042503's user avatar
0 votes
1 answer
3k views

Xamarin.Forms Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation

I'm very new at Xamarin.Forms and I have one issue that I can't solve. When I click on a button, it is supposed to navigate to page RegistracijaKorisnika.xaml (It is on Bosnian language .. sorry for ...
zerina's user avatar
  • 3
0 votes
2 answers
944 views

ObservableCollection Binding Exception - ListView ItemSource Xamarin

I want to bind a listview to my viewmodel but I get ArgumentNullException. I use xamarin.forms and the exception appears in android and ios projects but not in uwp. Itemsource returns an exception ...
GeralexGR's user avatar
  • 3,602
0 votes
1 answer
2k views

XAML Xamarin OnPlatform Binding

I think my code is self explanatory: <Label Style="{DynamicResource labelStyle}" HorizontalTextAlignment="End" Text="{Binding message}"> <OnPlatform x:TypeArguments="Color"&...
Dennis Schröer's user avatar
2 votes
1 answer
1k views

MvxCommand With CommandParameter binding to field

I'm trying using fire MvxCommand with CommandParameter: <Mvx.MvxListView style="@style/MyList" local:MvxBind="ItemsSource Items;" local:MvxItemTemplate="@layout/itemfavorite" /> It ...
FetFrumos's user avatar
  • 5,976