private void MTabs_TabSelected(object sender, TabLayout.TabSelectedEventArgs e)
        {
            thisFragmentView.RequestFocus();//to hide keyboard on search
            var tab = e.Tab;

            mSelectedProductCategory = tab.Text;
            searchViewSearchItems.SetQuery("", false);
            //redraw grid
            SetGridLayout(mLayoutInflater, mViewGroup, mIsGrid);
            mRecyclerViewItemsList.Invalidate();
        }
Ejemplo n.º 2
0
 private void MTabs_TabSelected(object sender, TabLayout.TabSelectedEventArgs e)
 {
     if (e.Tab.Text == "CATEGORIES")
     {
         mProductsFragmentCategoriesFragment.DeactivateSearch();
     }
     if (e.Tab.Text == "SIZES")
     {
         mProductsFragmentSizesFragment.DeactivateSearch();
     }
     thisFragmentView.RequestFocus();
 }
Ejemplo n.º 3
0
 private void TabLayout_TabSelected(object sender, TabLayout.TabSelectedEventArgs e)
 {
     Element.OnTabSelectionChanged(e.Tab.Position);
 }