﻿<?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 Android ContextualToolbar</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-ContextualToolbar/</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 Android ContextualToolbar</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-ContextualToolbar/</link><pubDate>Thu, 08 Sep 2016 08:45:33 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;your proposed workaround solves the problem.&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 Android ContextualToolbar</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-ContextualToolbar/</link><pubDate>Tue, 06 Sep 2016 07:03:03 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I was able to reproduce the reported problem in my local end.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The problem happen because &lt;strong&gt;IsEditing&lt;/strong&gt; in ViewModel doesn't change to &lt;em&gt;true&lt;/em&gt; when the view changed into edit mode. I got the expected result if modify my command (in the ViewModel) into the following:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;public void ExecuteCustomCmd(object parameter)
{
    this.IsEditing = true;
    
    // do something in here
    //this.ToastPresenter.Show("hello world");
    
    this.IsEditing = false;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This problem is no longer persist in the experimental assembly of Crosslight. If it's okay for you, you can try to use my approach as workaround.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Android ContextualToolbar</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-ContextualToolbar/</link><pubDate>Fri, 02 Sep 2016 11:50:34 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi aka Crosslight Support,&lt;/p&gt;&lt;p&gt;I have a question concerning the contextual toolbar on Android. I have a recyclerviewfragment where I add a custom command in the contextual toolbar. After executing this command the view stays in edit mode. The IsEditing variable in the ViewModel is false, but as said the view stays in edit mode.&lt;/p&gt;&lt;p&gt;When I compare this to a built in command like Delete it behaves different. After deleting a list item the view is no longer in edit mode. I cannot see any command that switches the view modes, so I guess it is done behind the scenes.&lt;/p&gt;&lt;p&gt;How can I fix this?&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>