﻿<?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 - How to Use Crosslight v2 to Enable Pull Refresh on EditableListViewModel and UITableViewController?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-to-Enable-Pull-Refresh-on-EditableListViewModel-and-UITableViewController/</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>How to Use Crosslight v2 to Enable Pull Refresh on EditableListViewModel and UITableViewController?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-to-Enable-Pull-Refresh-on-EditableListViewModel-and-UITableViewController/</link><pubDate>Tue, 20 May 2014 17:25:10 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Great! That sure thing works. Although I don't believe this is part of the developer documentation. Or I could be wrong. Again, thanks for your support... appreciate it.&lt;/p&gt;</description></item><item><title>How to Use Crosslight v2 to Enable Pull Refresh on EditableListViewModel and UITableViewController?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-to-Enable-Pull-Refresh-on-EditableListViewModel-and-UITableViewController/</link><pubDate>Tue, 20 May 2014 02:24:48 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;&lt;strong&gt;Edited on May 20, 2014 03:20 AM&lt;br&gt;Reason: double post&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight v2 to Enable Pull Refresh on EditableListViewModel and UITableViewController?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-to-Enable-Pull-Refresh-on-EditableListViewModel-and-UITableViewController/</link><pubDate>Tue, 20 May 2014 02:09:58 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hi Domingo,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;You will need to do the following.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;In your view model, overrides the ExecuteRefresh method and call the RefreshData.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;// Override the ExecuteRefresh method and call the RefreshData&amp;nbsp;
protected override void ExecuteRefresh(object parameter)
{
    base.ExecuteRefresh(parameter);
    this.RefreshData();
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Make sure your view model set the EnableRefresh property to true.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;public ItemListViewModel()
{
    this.EnableRefresh = true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Lastly you need to bind the RefreshCommand property in your binding descriptor.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;public class ItemListBindingProvider : BindingProvider
{
    public ItemListBindingProvider()
    {
        ...
        this.AddBinding("TableView", BindableProperties.RefreshCommandProperty, "RefreshCommand");
    }
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this help; we’ve also updated the online documentation related to this topic. Thanks for the inquiry.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight v2 to Enable Pull Refresh on EditableListViewModel and UITableViewController?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-to-Enable-Pull-Refresh-on-EditableListViewModel-and-UITableViewController/</link><pubDate>Mon, 19 May 2014 17:39:13 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Hi Guys,&lt;/p&gt;&lt;p&gt;We followed instructions from this link (&lt;a href="http://developer.intersoftpt.com/display/crosslight/iOS+Pull+to+Refresh" target="_blank"&gt;click here&lt;/a&gt;) using &lt;b&gt;EditableListViewModel &lt;/b&gt;and &lt;b&gt;UITableViewController&lt;/b&gt;, but this doesn't seem to be working. Please take note that we are not using the Enterprise App Framework. Just a simple EditableListViewModel and UITableViewController.&lt;/p&gt;&lt;blockquote style="padding-left: 10px; margin: 0px 0px 0px 5px; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"&gt;&lt;span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; background-color: rgb(255, 255, 255);"&gt;Built with conformance to MVVM pattern, the pull to refresh feature is automatically enabled when the ViewModel of the table view controller implements&amp;nbsp;&lt;/span&gt;&lt;a href="http://developer.intersoftpt.com/display/crosslightapi/ISupportRefresh+Interface" style="color: rgb(59, 115, 175); text-decoration: none; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; background-color: rgb(255, 255, 255);"&gt;ISupportRefresh&lt;/a&gt;&lt;span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; background-color: rgb(255, 255, 255);"&gt;&amp;nbsp;interface. This design provides the utmost flexibility for developers to control the data loading process which is also written in the ViewModel layer.&lt;/span&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;We're not sure how we missed anything to support this on our app.&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>