﻿<?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 - iphone</title><link>http://www.intersoftsolutions.com/Community/Tags/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/Tags/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>