iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Guys,
We followed instructions from this link (click here) using EditableListViewModel and UITableViewController, 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.
Built with conformance to MVVM pattern, the pull to refresh feature is automatically enabled when the ViewModel of the table view controller implements ISupportRefresh interface. This design provides the utmost flexibility for developers to control the data loading process which is also written in the ViewModel layer.
We're not sure how we missed anything to support this on our app.
Hi Domingo,
You will need to do the following.
In your view model, overrides the ExecuteRefresh method and call the RefreshData.
// Override the ExecuteRefresh method and call the RefreshData protected override void ExecuteRefresh(object parameter) { base.ExecuteRefresh(parameter); this.RefreshData(); }
Make sure your view model set the EnableRefresh property to true.
public ItemListViewModel() { this.EnableRefresh = true; }
Lastly you need to bind the RefreshCommand property in your binding descriptor.
public class ItemListBindingProvider : BindingProvider { public ItemListBindingProvider() { ... this.AddBinding("TableView", BindableProperties.RefreshCommandProperty, "RefreshCommand"); } }
Hope this help; we’ve also updated the online documentation related to this topic. Thanks for the inquiry.
Edited on May 20, 2014 03:20 AMReason: double post
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.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname