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
Pull-to-Refresh Always an error ,
Would please advise . thanks.
Hi Zhong Wanghua,Could you elaborate more about the error, if you have sample, screenshot, or error log, it will be help us to troubleshoot the error.Please note you can read more about how to pull to refresh in this article:http://www.intersoftpt.com/Community/Crosslight/How-to-Pull-to-Refresh/Best Regards,Arief
This is my project ,To regenerate the there is a problem 。I want to achieve, drag load data ,To an unknown error 。I use “DataListViewModelBase”implementation 。Can you give me one Run the example 。Thank you very much 。I have been learning for a long time Hasn't been made 。
Binding times wrong data 。
Hi Zhou Wanghua,What Platform did you use? iOS/Android/WinPhonedid you already use this code in your binding provider? your binding provider lack this code:this.AddBinding("TableView", BindableProperties.RefreshCommandProperty, "RefreshCommand");Can you show me the screenshot/error log of the error?
Here is our working samples: http://git.intersoftpt.com/projects/CROS/repos/samples/browse/MyInventory_WebApiAlso sorry i give your wrong link, here is the how to link: http://developer.intersoftpt.com/display/crosslight/Enabling+Pull+to+Refresh
When I am through “ this.NavigationService.Navigate<MachineTimeViewModel>();”The navigation view ,not find "MachineTimeViewModel"
In the following error As shown in figure
namespace MyInventory.ViewModels{ public class MachineTimeViewModel: DataListViewModelBase<Item, IItemRepository> { private ItemQueryDefinition _queryDefinition = null; public ItemListViewModel() { // configure data behaviors this.EnableRefresh = true; this.EnableIncrementalRefresh = true; this.EnableIncrementalLoading = true; this.EnableAsyncFilter = true; this.IncrementalLoadingSize = 20; // commands this.LoadIncrementalCommand = new DelegateCommand(ExecuteLoadIncrementalCommand, CanExecuteLoadIncrementalCommand); } public DelegateCommand LoadIncrementalCommand { get; set; } public override string TitleText { get { if (this.Items != null) return "Inventories (" + this.Items.Count() + ")"; return "Inventories"; } } protected override IQueryDefinition ViewQuery { get { if (_queryDefinition == null) _queryDefinition = new ItemQueryDefinition(); return _queryDefinition; } } private bool CanExecuteLoadIncrementalCommand(object paramater) { return this.EnableIncrementalLoading; } private void ExecuteLoadIncrementalCommand(object parameter) { LoadDataIncremental(); } } }
Hi Zhou Wanghuayour constructor is wrong it should be: public MachineTimeViewModel(){}
namespace MyInventory.ViewModels{ public class MachineTimeViewModel: DataListViewModelBase<Item, IItemRepository> { private ItemQueryDefinition _queryDefinition = null; public MachineTimeViewModel() { // configure data behaviors this.EnableRefresh = true; this.EnableIncrementalRefresh = true; this.EnableIncrementalLoading = true; this.EnableAsyncFilter = true; this.IncrementalLoadingSize = 20; // commands this.LoadIncrementalCommand = new DelegateCommand(ExecuteLoadIncrementalCommand, CanExecuteLoadIncrementalCommand); } public DelegateCommand LoadIncrementalCommand { get; set; } public override string TitleText { get { if (this.Items != null) return "Inventories (" + this.Items.Count() + ")"; return "Inventories"; } } protected override IQueryDefinition ViewQuery { get { if (_queryDefinition == null) _queryDefinition = new ItemQueryDefinition(); return _queryDefinition; } } private bool CanExecuteLoadIncrementalCommand(object paramater) { return this.EnableIncrementalLoading; } private void ExecuteLoadIncrementalCommand(object parameter) { LoadDataIncremental(); } }}
When I am through “ this.NavigationService.Navigate<MachineTimeViewModel>();”The navigation view ,not find "MachineTimeViewModel"。"DataListViewModelBase" Can be achieved by "this.NavigationService.Navigate<>"navigation ?
Hi Zhou WanghuaI think your MachineTimeViewModel view model is already right.That error caused because you are not yet created activity (Android) or view controller (iOS), you must link your view model to your activity (android) or view controllor (iOS) here is the example:If you not yet define your view model there, that error can be happened.
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