I'm trying to inflate a dialog with MvxExpandbaleListView and the app crashes with a ClassNotFoundException. The exception message is: "Didn't find class "android.view.MvxExpandableListView".
Here is the code that I'm using to inflate the dialog:
var alertDialogBuilder = new AlertDialog.Builder(Activity);
var viewListaDialog = Activity.LayoutInflater.Inflate(Resource.Layout.ListaAgrupadaDialog, null);
var botaoCancelar = viewListaDialog.FindViewById<Button>(Resource.Id.botaoCancelar);
var expandableListView = viewListaDialog.FindViewById<MvxExpandableListView>(Resource.Id.expandableList);
var expandableListAdapter = new ListaAgrupadaSelecaoAdapter(Activity, BindingContext as IMvxAndroidBindingContext);
expandableListView.SetAdapter(expandableListAdapter);
alertDialogBuilder.SetView(viewListaDialog);
var dialog = alertDialogBuilder.Show();
The error occurs when the line "Activity.LayoutInflater.Inflate(Resource.Layout.ListaAgrupadaDialog, null);" is executed.
I'm trying to do this inside of a MvxFragment (Support V4)
I'm trying to inflate a dialog with MvxExpandbaleListView and the app crashes with a ClassNotFoundException. The exception message is: "Didn't find class "android.view.MvxExpandableListView".
Here is my dialog axml:
Here is the code that I'm using to inflate the dialog:
The error occurs when the line "Activity.LayoutInflater.Inflate(Resource.Layout.ListaAgrupadaDialog, null);" is executed.
I'm trying to do this inside of a MvxFragment (Support V4)