Plac3hold3r/MvxScaffolding

Fragment BindingInflate ignores `container` argument

Closed this issue · 1 comments

https://github.com/Plac3hold3r/MvxScaffolding/blob/master/src/Templates/MvxNative/SingleView/src/MvxNative.Droid/Views/!Base/BaseFragment.cs#L27

https://github.com/Plac3hold3r/MvxScaffolding/blob/master/src/Templates/MvxNative/NavigationMenu/src/MvxNative.Droid/Views/!Base/BaseFragment.cs#L27

The call to BindingInflate in BaseFragment ignores the container ViewGroup. The issue with this is that the child view we are inflating then won't know the parent's LayoutParameters and in worst cases will get the incorrect size when then using GenerateDefaultLayoutParameters.

I'll do a release later today with these bug fixes. Thanks for the help.