示例#1
0
 private void FnSetUpMainView(LayoutInflater inflater, ViewGroup container)
 {
     mThisFragmentView                      = inflater.Inflate(Resource.Layout.runners_fragment, container, false);
     mThisFragmentView.Clickable            = true;
     mThisFragmentView.FocusableInTouchMode = true;
     SoftKeyboardHelper.SetUpFocusAndClickUI(mThisFragmentView);
 }
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            FnSetUpData();
            mLayoutInflater                       = inflater;
            mViewGroup                            = container;
            thisFragmentView                      = inflater.Inflate(Resource.Layout.checkout_fragment, container, false);
            thisFragmentView.Clickable            = true;
            thisFragmentView.FocusableInTouchMode = true;
            SoftKeyboardHelper.SetUpFocusAndClickUI(thisFragmentView);
            thisFragmentView.Post(() =>
            {
                thisFragmentViewOriginalHeight            = thisFragmentView.Height;
                GlobalVariables.MAIN_FRAGMENT_VIEW_HEIGHT = thisFragmentView.Height;
            });
            thisFragmentViewOriginalHeight = thisFragmentView.Height;
            FnSetUpControls();
            FnSetUpSearchToolBar();
            FnSetUpEvents();
            FnSetUpCategories();
            //get screendensity
            Context cont = (MainActivity)this.Activity;

            mDpVal = cont.Resources.DisplayMetrics.Density;
            SetGridLayout(inflater, container, mIsGrid);

            return(thisFragmentView);
        }
示例#3
0
 public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 {
     thisFragmentView                      = inflater.Inflate(Resource.Layout.transactions_fragment_items_fragment, container, false);
     thisFragmentView.Clickable            = true;
     thisFragmentView.FocusableInTouchMode = true;
     SoftKeyboardHelper.SetUpFocusAndClickUI(thisFragmentView);
     FnGetData();
     FnSetUpControls();
     FnSetUpList();
     return(thisFragmentView);
 }
 public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 {
     thisFragmentView                      = inflater.Inflate(Resource.Layout.customers_fragment_customer_info, container, false);
     thisFragmentView.Clickable            = true;
     thisFragmentView.FocusableInTouchMode = true;
     SoftKeyboardHelper.SetUpFocusAndClickUI(thisFragmentView);
     FnGetData();
     FnSetUpControls();
     FnSetUpEvents();
     ShowSelectedRunnerData();
     return(thisFragmentView);
 }
示例#5
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            thisFragmentView                      = inflater.Inflate(Resource.Layout.products_fragment_categories_fragment, container, false);
            thisFragmentView.Clickable            = true;
            thisFragmentView.FocusableInTouchMode = true;
            SoftKeyboardHelper.SetUpFocusAndClickUI(thisFragmentView);
            FnSetUpSearchToolbar(inflater);
            FnSetUpData();
            FnSetUpControls();
            FnSetUpList();

            return(thisFragmentView);
        }
 public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 {
     thisFragmentView                      = inflater.Inflate(Resource.Layout.customers_fragment_customer_sales, container, false);
     thisFragmentView.Clickable            = true;
     thisFragmentView.FocusableInTouchMode = true;
     SoftKeyboardHelper.SetUpFocusAndClickUI(thisFragmentView);
     FnGetData();
     FnSetUpControls();
     FnSetUpEvents();
     FnSetTransactionList();
     SetUnpaidAmount();
     thisFragmentView.Post(() =>
     {
         SetRecyclerViewLayoutHeight(mRecyclerViewTransactionList, mToolBar);
     });
     return(thisFragmentView);
 }