-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flyout unified First time event #70
Comments
I have the same problem. Once I login, and as i click on flyout button to navigate it shows me nullReferanceException. Can anybody suggest the solution for this. |
How you are adding flyout button? May be your flyout button will be null or your flyout navigation controller object will be null i.e yourflyoutobject.ToggleMenu() may be cause for null reference exception Can you post your code(flyout part)? |
##MainController.cs using System; #if UNIFIED namespace GoodTVIOS // // Data we'll use to create our flyout menu and views:
// var ChannelVc = CreateViewController ("MyStoryBoard", "CHannelViewController"); // viewControllers.Add (new UINavigationController(new SwipableTableView ()));
} $$HomePageViewController.cs using Foundation;
} $$AppDelegates.cs using System; #if UNIFIED using FlyoutNavigation; namespace GoodTVIOS
} $$MyStoryboardViewContoller.cs using System; namespace GoodTVIOS
// CHannelViewController channel =this.Storyboard.InstantiateViewController("CHannelViewController")
} Here's my code. Please let me know the solution. |
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);
View.Bounds.Width, View.Bounds.Height));
bg.Image = imgBackground;
bg.ContentMode = UIViewContentMode.ScaleAspectFill;
UIColor.Clear;
myflyout.NavigationTableView.SectionIndexColor = UIColor.White;
UITableViewCellSeparatorStyle.None;
myflyout.NavigationTableView.SectionHeaderHeight = 20;
myflyout.NavigationTableView.Frame = new CGRect (0f, 250f,
View.Bounds.Width, View.Bounds.Height);
myflyout.NavigationTableView.TintColor = new UIColor (1, 1, 1, 1);
UIViewController,
UIViewController,
new AddCategory (flyout)as UIViewController,
new BuildSettings (flyout)as UIViewController,
userorgid, flyout)as UIViewController,
new Bitcoinhistory (username, password, this, mailid, CustomerID,
userorgid, flyout)as UIViewController,
new SalesProductChart (flyout)as UIViewController,
new Debit_Settings (userid, username, password, phoneno, mailid,
dob, SellerToken, this, 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.
@Clancey @lubiluk @migueldeicaza @dvdsgl @timrisi
The text was updated successfully, but these errors were encountered: