Flyout navigation has been working fine.But after I converted my code into unified. I got a problem in my app which contain login screen. after we login, the flyout navigation table view click(row click) is not working(unable to move next view controller) but if I went to new presentviewcontroller(i.e card.io) and come back its working fine.
Please find the below code.
I'm calling homeController from LoginController
using below code
Home homeObject=new Home();
this.NavigationController.PushViewController(this.homeObject,true);
Home
FlyoutNavigationController myflyout = new FlyoutNavigationController ();
UIView background = new UIView ();
background.ContentMode = UIViewContentMode.ScaleAspectFill;
background.Add (bg);
UIImageView bg = new UIImageView (new CGRect (0f, 0f,View.Bounds.Width,View.Bounds.Height));
bg.Image = imgBackground;
bg.ContentMode = UIViewContentMode.ScaleAspectFill;
new MainPage (SellerToken, this, mailid, userid, flyout)asUIViewController,
new CartView (SellerToken, this, mailid, userid, flyout)asUIViewController,
new AddCategory (flyout)as UIViewController,
new BuildSettings (flyout)as UIViewController,
new History (username, password, this, mailid, CustomerID,userorgid, flyout)as UIViewController,
new Bitcoinhistory (username, password, this, mailid, flyout)as UIViewController,
new SalesProductChart (flyout)as UIViewController,
new Debit_Settings (userid, username, password, phoneno, mailid, flyout)as UIViewController,
new UploadMerchantLogo (flyout)as UIViewController,
new Changepassword (username, this, flyout)as UIViewController,
new Debit_table_help (this, flyout)as UIViewController,
new Support (userid, mailid, phoneno, this, flyout),
new DonateCharity(mailid,flyout)as UIViewController,
new UINavigationController (new Loginpage (this, "logout"))
};
View.AddSubview (myflyout.View);
View.Add (statusview);
Flyout navigation has been working fine.But after I converted my code into unified. I got a problem in my app which contain login screen. after we login, the flyout navigation table view click(row click) is not working(unable to move next view controller) but if I went to new presentviewcontroller(i.e card.io) and come back its working fine.
Please find the below code.
I'm calling homeController from LoginController using below code Home homeObject=new Home(); this.NavigationController.PushViewController(this.homeObject,true);
Home
FlyoutNavigationController myflyout = new FlyoutNavigationController (); UIView background = new UIView (); background.ContentMode = UIViewContentMode.ScaleAspectFill; background.Add (bg);
UIImageView bg = new UIImageView (new CGRect (0f, 0f,View.Bounds.Width,View.Bounds.Height)); bg.Image = imgBackground; bg.ContentMode = UIViewContentMode.ScaleAspectFill;
UIColor.Clear; myflyout.NavigationTableView.SectionIndexColor = UIColor.White;
myflyout.NavigationRoot = new RootElement ("Home") { new Section () { GetMenuItem ("Single Item Payment", imgSinglePay), GetMenuItem ("Multi-items Payment", imgMultiPay), GetMenuItem ("Shopping Cart Setup", imgCartSetup), GetMenuItem ("Tax and Tips Setup", imgBillSettings), GetMenuItem ("History", imgHistory), GetMenuItem ("BitCoin History", imgHistory), GetMenuItem ("Reports", imgReports), GetMenuItem ("Settings", imgSettings), GetMenuItem("Business Logo",imgUpload), GetMenuItem ("Change Password", imgChangePassword), GetMenuItem ("Help", imgHelp), GetMenuItem ("Support", imgSupport), GetMenuItem ("Donate to charity", imgDonate), GetMenuItem ("Logout", imgLogout) } };
new MainPage (SellerToken, this, mailid, userid, flyout)asUIViewController, new CartView (SellerToken, this, mailid, userid, flyout)asUIViewController, new AddCategory (flyout)as UIViewController, new BuildSettings (flyout)as UIViewController, new History (username, password, this, mailid, CustomerID,userorgid, flyout)as UIViewController, new Bitcoinhistory (username, password, this, mailid, flyout)as UIViewController, new SalesProductChart (flyout)as UIViewController,
new Debit_Settings (userid, username, password, phoneno, mailid, flyout)as UIViewController, new UploadMerchantLogo (flyout)as UIViewController, new Changepassword (username, this, flyout)as UIViewController, new Debit_table_help (this, flyout)as UIViewController, new Support (userid, mailid, phoneno, this, flyout),
please help me to solve this.