private void GetRewardByUrlComplete(RewardItemModel rewardItem)
        {
            var          rootViewController = UIApplication.SharedApplication.KeyWindow.RootViewController as UINavigationController;
            UIStoryboard board = UIStoryboard.FromName("Rewards", null);

            if (rewardItem.Type == "REWARD")
            {
                var vc = (RewardDetailViewController)board.InstantiateViewController("RewardDetailViewController");
                vc.Reward = rewardItem;
                rootViewController.PushViewController(vc, true);
                return;
            }

            if (rewardItem.Type == "CATEGORY")
            {
                RewardsViewController ctrl = (RewardsViewController)board.InstantiateViewController("RewardsViewController") as RewardsViewController;
                ctrl.RewardsCategoryName = rewardItem.Name;
                if (rewardItem.ChildList != null)
                {
                    ctrl.RewardList = rewardItem.ChildList;
                }
                else
                {
                    ctrl.CategoryID = rewardItem.ID;
                    SL.RewardList   = null;
                }

                rootViewController.PushViewController(ctrl, true);
            }
        }
 private void DrillDown(RewardModel reward)
 {
     if (Platform.IsInternetConnectionAvailable() == false)
     {
         return;
     }
     if (reward != null)
     {
         UIStoryboard          board = UIStoryboard.FromName("Rewards", null);
         RewardsViewController ctrl  = (RewardsViewController)board.InstantiateViewController("RewardsViewController") as RewardsViewController;
         ctrl.RewardsCategoryName = reward.Name;
         if (reward.ChildList != null)
         {
             ctrl.RewardList = reward.ChildList;
         }
         else
         {
             ctrl.CategoryID = reward.ID;
             SL.RewardList   = null;
         }
         RewardCollectionViewController.ShouldDrillDownImmediately = false;
         RewardCollectionViewController.NavigationController.PushViewController(ctrl, true);
     }
 }