예제 #1
0
        protected virtual View CreateSimpleView(object dataContext)
        {
            // note - this could technically be a non-binding inflate - but the overhead is minimal
            // note - it's important to use `false` for the attachToRoot argument here
            //    see discussion in https://github.com/MvvmCross/MvvmCross/issues/507
            var view = BindingContext.BindingInflate(_currentSimpleId, _currentParent, false);

            BindSimpleView(view, dataContext);
            return(view);
        }