﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Fri, 12 Aug 2016 03:47:35 GMT</pubDate><dc:creator>yudi</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Thank you for the information. I can replicate the issue after removing RefreshGroupItems().&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I have submitted the reported problem to Crosslight development team. It is filed under CROS-1168.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I will keep you updated with any news I heard from the team regarding CROS-1168.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Thu, 11 Aug 2016 08:10:54 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;the difference in my case is that I don't have an override for RefreshGroupItems in the NavigationViewModel. If you comment out this method you will get the error, too.&lt;/p&gt;&lt;p&gt;Maybe this is a misunderstanding from my side. Since, I have no grouped navigation, I thought I do not have to provide an override for this. I thought just keep the default would be fine. But obviously it is not.&lt;/p&gt;&lt;p&gt;Am I wrong here?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Tue, 09 Aug 2016 02:31:47 GMT</pubDate><dc:creator>yudi</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;blockquote&gt;&lt;p&gt;In the meantime, this causes a runtime error. How can I select the first navigation item of the drawer navigation when starting an app?&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I attached a video which shows a simple app with initial selection (its first navigation item) when start. As shown in the video, the reported problem: causes a runtime error, is not reproducible.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For your reference, I enclosed my test app as attachment.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Should you find anything that I miss during my attempt to reproduce the problem, please feel free to let me know.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Thu, 04 Aug 2016 14:12:14 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;I have to reopen this, because it no longer works like this.&lt;/p&gt;&lt;p&gt;The initial question here was, how can I select the first navigation item of the drawer navigation when starting an app.&lt;/p&gt;&lt;p&gt;Your solution for iOS was:&lt;/p&gt;&lt;p&gt;this.DrawerSettings.AutoSynchronizeSelection = true; (DrawerViewController)&lt;/p&gt;&lt;p&gt;this.ClearsSelectionOnViewWillAppear = false; (NavigationViewController)&lt;br&gt;&lt;/p&gt;&lt;p&gt;public override bool DeselectRowOnNavigate (NavigationViewController)&lt;br&gt;{&lt;br&gt; get { return false; }&lt;br&gt;}&lt;br&gt;&lt;/p&gt;&lt;p&gt;In the meantime, this causes a runtime error. How can I select the first navigation item of the drawer navigation when starting an app?&lt;/p&gt;&lt;p&gt;Please, provide an up to date solution or fix this bug.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Thu, 18 Dec 2014 15:36:59 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;it works somehow. But for my needs it is not the required solution.&lt;/p&gt;&lt;p&gt;Anyway, I think you can close this thread.&lt;/p&gt;&lt;p&gt;My needs are described in another post (&lt;a href="http://www.intersoftpt.com/Community/Crosslight/Crosslight-ListView-Styling/"&gt;http://www.intersoftpt.com/Community/Crosslight/Crosslight-ListView-Styling/&lt;/a&gt;).&lt;/p&gt;&lt;p&gt;In general, a greater emphasis on custom styling and setting styles,&amp;nbsp;colors, ...&amp;nbsp;in code would be nice.&lt;br&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Tue, 16 Dec 2014 05:49:35 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;Thanks you for the explanation, I will test this today and give feedback.&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Mon, 15 Dec 2014 09:33:14 GMT</pubDate><dc:creator>yudi</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;WorthyStyleDrawerSample uses custom list item template. Please follow the steps below in order to apply the style for drawer preselection.&lt;/span&gt;&lt;/p&gt;&lt;ol style="color: #1f497d;"&gt;&lt;li&gt;Open DrawerSamples.Worthy.Android/Resources/values/Styles.xml file&lt;/li&gt;&lt;li&gt;Add a style and named it as ListItem; and set the background to @color/listviewbackgroundselector;&lt;/li&gt;&lt;/ol&gt;&lt;pre&gt;&amp;lt;style name="ListItem"&amp;gt;  &amp;lt;item name="android:background"&amp;gt;@color/listviewbackgroundselector&amp;lt;/item&amp;gt;
&amp;lt;/style&amp;gt;
&amp;lt;style name="Theme.Splash" parent="android:Theme"&amp;gt;&lt;/pre&gt;
&lt;ol style="color: #1f497d;" start="3"&gt;&lt;li&gt;Open DrawerSamples.Worthy.Android/Resources/layout/ItemListLayout.axml&lt;/li&gt;&lt;li&gt;Apply ListItem style to the LinearLayout&lt;/li&gt;&lt;/ol&gt;
&lt;pre&gt;&amp;lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    style="@style/ListItem"&amp;gt;
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Save the changes and the preselection on drawer should look like below.&lt;/span&gt;&lt;/p&gt;
&lt;img src="http://www.intersoftpt.com/Community/Attachments/4070/DrawerPreselectionOnWorthyStyleDrawerSample.png" style="height: 384px; width: 230px;"&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this help.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Thu, 11 Dec 2014 10:34:31 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;you are right with the plain DrawerSample, but please have a look at the WorthyStyleDrawerSample.&lt;/p&gt;&lt;p&gt;In the BindingProvider the SelectedItem is bound but it is not selected at startup.&lt;/p&gt;&lt;p&gt;Maybe it is because the drawer is not open when starting the app or it is because of a custom list item template. I have the same scenario in my app and there is no selected list item, too.&lt;/p&gt;&lt;p&gt;I haven't tried on iOS. Maybe you could do this, too.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Wed, 10 Dec 2014 04:36:17 GMT</pubDate><dc:creator>yudi</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For Android platform, please ensure that binding to &lt;em&gt;SelectedItem&lt;/em&gt; property has been added in BindingProvider (as seen in the following snippet code).&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;public NavigationBindingProvider()
{
    ItemBindingDescription itemBinding = new ItemBindingDescription()
    {
        DisplayMemberPath = "Title",
        NavigateMemberPath = "Target"
    };

    ...
    this.AddBinding("TableView", BindableProperties.SelectedItemProperty, "SelectedItem", BindingMode.TwoWay);
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The DrawerSamples project on Android emulator (using Crosslight 3) shows that preselection works on Android.&lt;/span&gt;&lt;/p&gt;
&lt;img src="http://www.intersoftpt.com/Community/Attachments/4070/Android_DrawerPreSelection.png" style="height: 382px; width: 280px;"&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Fri, 05 Dec 2014 13:53:41 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;I have to reopen this.&lt;/p&gt;&lt;p&gt;As you described in one of the entries above, the preselection works fine on iOS.&lt;/p&gt;&lt;p&gt;Now, I need this (app starts, shown view is selected in drawer navigation) on Android, too. I couldn't find out how.&lt;/p&gt;&lt;p&gt;Do you have any sample for Android?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Drawer Navigation</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Drawer-Navigation/</link><pubDate>Sat, 12 Jul 2014 11:32:57 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Crosslight Drawer Navigation</category><description>&lt;p&gt;Hello Crosslight Support,&lt;/p&gt;&lt;p&gt;I am using a drawer navigation. When starting the app, the initial screen/view shows the first navigation item of the drawer navigation. This item isn't highlighted. When navigating to other screens/views the belonging navigation item is highlighted. When navigating back&amp;nbsp;to the initial screen/view it is highlighted, too.&lt;/p&gt;&lt;p&gt;How can I initially highlight the "startup" navigation item in a drawer (iOS and Android)?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;/p&gt;</description></item></channel></rss>