public CatalogListPage(string OfferCode)
 {
     InitializeComponent();
     vm              = new CatalogPageViewModel(OfferCode);
     BindingContext  = vm;
     visualContainer = ListViewList.GetVisualContainer();
     visualContainer.ScrollRows.Changed += ScrollRows_Changed;
 }
        //
        public CatalogListPage(SubCategory category)
        {
            InitializeComponent();
            vm             = new CatalogPageViewModel(category);
            BindingContext = vm;

            /* ListViewList.FooterSize = 40;
             * visualContainer = ListViewList.GetType().GetRuntimeProperties().First(p => p.Name == "VisualContainer").GetValue(ListViewList) as VisualContainer;
             * scrollRows = visualContainer.GetType().GetRuntimeProperties().First(p => p.Name == "ScrollRows").GetValue(visualContainer) as ScrollAxisBase;
             * scrollRows.Changed += ScrollRows_Changed;
             */

            visualContainer = ListViewList.GetVisualContainer();
            visualContainer.ScrollRows.Changed += ScrollRows_Changed;

            /*  new Task(async () =>
             * {
             *    await getProducts(category);
             * }).Start();
             */
        }