Mvvmcross.platform.exceptions.mvxexception Bindingcontext Is Null During Mvxadapter Creation
I tried to convert MVXActivity into MvxFragment , the application crashes when i try to inflate the layout bindingContext is null during MvxAdapter creation - Adapter's should onl
Solution 1:
I figured out that i need to use the BindingInflate .
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
this.EnsureBindingContextIsSet(inflater);
return this.BindingInflate(Resource.Layout.BrandView1, container, false);
}
Post a Comment for "Mvvmcross.platform.exceptions.mvxexception Bindingcontext Is Null During Mvxadapter Creation"