Comments (2)
I am using this in unified in 3 different apps without any issue. Without seeing code it's impossible to tell you what you are doing wrong.
from flyoutnavigation.
Hi Clancey,
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;
myflyout.NavigationTableView.BackgroundView = bg;
myflyout.NavigationTableView.RowHeight = 44;
myflyout.NavigationTableView.SectionIndexBackgroundColor =
UIColor.Clear;
myflyout.NavigationTableView.SectionIndexColor = UIColor.White;
myflyout.NavigationTableView.SeparatorStyle =
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);
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)
}
};
myflyout.ViewControllers = new []
{
new MainPage (SellerToken, this, mailid, userid, flyout)as
UIViewController,
new CartView (SellerToken, this, mailid, userid, flyout)as
UIViewController,
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, 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),
new DonateCharity(mailid,flyout)as UIViewController,
new UINavigationController (new Loginpage (this, "logout"))
};
View.AddSubview (myflyout.View);
View.Add (statusview);
While the First time if I go from login to Home Controller the row
click is not working(Sliding menu event) but if went to other view
controller i.e. present viewcontroller from MainPage and come back its
working fine.
Please help me to solve this.
Thanks & Regards,
DineshKumar
On 14-02-2015 04:45, James Clancey wrote:
I am using this in unified in 3 different apps without any issue.
Without seeing code it's impossible to tell you what you are doing wrong.—
Reply to this email directly or view it on GitHub
#68 (comment).
from flyoutnavigation.
Related Issues (20)
- Flyout Navigation with TabBarController HOT 2
- Change viewcontrollers to existing ones HOT 6
- Flyout unified First time event
- Flyout unified First time event HOT 3
- Menu item click intercept and set tabbarcontroller's selected tab index HOT 3
- Get current node HOT 2
- Pushing new view UIViewController shows side menu in background HOT 2
- Fix for ViewWillAppear not firing in some cases HOT 7
- public void NavigationItemSelected (int index) HOT 2
- Project does not build HOT 1
- How to Add Image and Text at The top of the menu? HOT 5
- How to add submenu like expand and collapse in flyout HOT 1
- Gesture to open close fly out HOT 1
- Strange compatability issue
- Enable change color of shadow layer HOT 1
- How do I change the menu items HOT 1
- RootElement in MonoTouch HOT 1
- Close Flyout on screen tap? HOT 2
- Selecting a UIViewElement highlights the row HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flyoutnavigation.