﻿<?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 - Core no work equal in Android and iPhone</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Core-no-work-equal-in-Android-and-iPhone/</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>Core no work equal in Android and iPhone</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Core-no-work-equal-in-Android-and-iPhone/</link><pubDate>Mon, 11 May 2015 09:53:29 GMT</pubDate><dc:creator>Arief</dc:creator><category>navigation</category><category>android</category><category>Crosslight</category><category>Core</category><category>drawer</category><category>iphone</category><description>&lt;p&gt;Hi Cristobal,&lt;br&gt;&lt;br&gt;Actually, the method i give you is just a better way to manipulate drawers in Android (if you using Close it will also close the drawer so it is better using IsOpen)&lt;br&gt;&lt;br&gt;About iOS version, In Android version however Google already give implementation for manipulating Drawer state but for iOS&amp;nbsp;&lt;span style="font-size: 10pt;"&gt;the function is still not yet implemented and also in the current version of Crosslight which also have been reported to our developer as a feature request under code CROS-816.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Nevertheless i will still try to help you to find alternative for iOS version of Drawer.&lt;br&gt;&lt;br&gt;Also sorry for confusing wording.&lt;br&gt;&lt;br&gt;Best Regards,&lt;br&gt;Arief&lt;br&gt;&lt;/p&gt;</description></item><item><title>Core no work equal in Android and iPhone</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Core-no-work-equal-in-Android-and-iPhone/</link><pubDate>Fri, 08 May 2015 11:52:19 GMT</pubDate><dc:creator>cristobal@sbsoftware.es</dc:creator><category>navigation</category><category>android</category><category>Crosslight</category><category>Core</category><category>drawer</category><category>iphone</category><description>&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;Thank you Arief for your answer.&amp;nbsp;Unfortunately this answer is not valid.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;&lt;b&gt;&lt;i&gt;IsOpen &lt;/i&gt;&lt;/b&gt;is a property with &lt;i&gt;get&amp;nbsp;&lt;/i&gt;only, so that it doesn't use &lt;b&gt;&lt;i&gt;OnPropertyChange &lt;/i&gt;&lt;/b&gt;method.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;If you put a breakpoint after of the conditional "if(property Name == "IsOpen")", the flow doesn't enter here.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;I've tried too this solution in the &lt;i&gt;Drawer Sample&amp;nbsp;&lt;/i&gt;code, but it doesn't work either.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: Calibri;"&gt;&lt;span style="font-size: 11pt;"&gt;I look forward to your reply as soon as possible.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Core no work equal in Android and iPhone</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Core-no-work-equal-in-Android-and-iPhone/</link><pubDate>Fri, 08 May 2015 08:21:41 GMT</pubDate><dc:creator>Arief</dc:creator><category>navigation</category><category>android</category><category>Crosslight</category><category>Core</category><category>drawer</category><category>iphone</category><description>&lt;p&gt;Hi Cristobal,&lt;br&gt;&lt;br&gt;We suggest you to use this method rather than overriding close:&lt;br&gt;&lt;/p&gt;&lt;pre&gt;        protected override void OnPropertyChanged(string propertyName)        {
            if (propertyName == "IsOpen")
            {
                if (this.IsOpen)
                {
                    //do something when the drawer is opened
                }
                else
                {
                    //do something when the drawer is closed
                }
            }
            base.OnPropertyChanged(propertyName);
        }&lt;/pre&gt;&lt;p&gt;The reason is close method actually used for closing the drawer, if you just want to check if the drawer is closed or not, it is better to use IsOpen like code snippet in above.&lt;br&gt;&lt;br&gt;For iOS i will inform our developer about this issue under code CROS-819, i will update you with the new information regarding this issue.&lt;br&gt;&lt;br&gt;Best Regards,&lt;br&gt;Arief&lt;/p&gt;</description></item><item><title>Core no work equal in Android and iPhone</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Core-no-work-equal-in-Android-and-iPhone/</link><pubDate>Wed, 06 May 2015 08:51:46 GMT</pubDate><dc:creator>cristobal@sbsoftware.es</dc:creator><category>navigation</category><category>android</category><category>Crosslight</category><category>Core</category><category>drawer</category><category>iphone</category><description>&lt;p&gt;I've developed my first app in Android using Crosslight.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;One of the activities of my app is a "DrawerViewModelBase". It has a "ListViewModelBase" in the center, and a "EditorViewModelBase" in the right side. The "EditorViewModelBase" is a Form.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;		public ValesDrawerViewModel()		{			this.CenterViewModel = new ValeListViewModel();
			this.RightViewModel = new FiltroEditorViewModel();
		}&lt;/pre&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Right side is a filter that, when it is closed, updates the items of the center. To control this event, in Close method of "DrawerViewModelBase", I get new items in the CenterViewModel.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;		public override void Close()
		{
			if (this.OpenedDrawer == DrawerSide.Right)
			{
				GetValesAsync();
			}
			base.Close();
		}
		protected virtual async void GetValesAsync()
		{
			...
			((ValeListViewModel)this.CenterViewModel).Items = selectResult;
			...
		}&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;In Android is OK, but in iPhone, when I Close the right side, it doesn't enter in Close method and it doesn't update items.&lt;/p&gt;&lt;p&gt;How can I solve this problem?&lt;/p&gt;&lt;p&gt;How can I send data between CenterViewModel and RightViewModel?&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="https://intersoftpt.com/Community/Attachments/14427/Filtro.png" style="border:none; width:499px; height:829px;" alt=""&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="https://intersoftpt.com/Community/Attachments/14427/Cargando.png" style="font-size: 10pt; border: none;"&gt;&lt;/p&gt;</description></item></channel></rss>