Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
- {
- var ignored = base.OnCreateView(inflater, container, savedInstanceState);
- return this.BindingInflate(Resource.Layout.my_fragment_layout, null);
- }
- Context context = new ContextThemeWrapper(Activity, Resource.Style.FragmentStyle);
- public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
- {
- Context context = new ContextThemeWrapper(Activity, Resource.Style.FragmentStyle);
- if (BindingContext == null)
- BindingContext = new MvxAndroidBindingContext(context, new MvxSimpleLayoutInflater(Activity.LayoutInflater), DataContext);
- else
- this.EnsureBindingContextIsSet(inflater);
- return this.BindingInflate(Resource.Layout.my_fragment_layout, null);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement