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
An initial test shows that the fix works. Still have a more detailed test to verify it...
Please take your time to test the nightly-build. Should the problem persist, please feel free to let us know.
Look forward to hearing back from you.
How can I programmatically change the drawer icon (hamburger icon)?
The hamburger icon customization is not supported in Android Material, as the current implementation only considers automatic animation and many built-in experience.
How can I (programmatically) change the color of the drawer icon? Is there some "tint" I can set?
You can change the color of the drawer icon by adding following snippet code in fragment:
protected override void Initialize() { base.Initialize(); ... this.ToolbarSettings.ItemColor = Color.OrangeRed; }
How can I (programmatically) change the color of the list icons (like in the navigation list)? Is there some "tint" I can set?
CROS-1029 has been submitted to Crosslight development team as improvement/enhancement of Android Material. The team are now working to allow programmatic theming of list icons through a simplified API.
Is there some documentation about how to style every part of the app (e.g. background of list group headers)?
Currently there is no specific document which explains about how to style every part of the app such as: background of group header.
We have this documentation which mention about how to change the group headers look and feel by providing GroupLayoutId. It will allows you to change the layout entirely, including the background.
Thank you for your valuable feedback about the documentation. We will gradually add more articles related to styling Android material.
...What if I want to switch the current theme of the app at runtime?...
CROS-1030 has been submitted to Crosslight development team as improvement/enhancement of Android Material. In general, most appearance aspects should be easily theme-able by overriding the color values. So in this case, we will introduce groupHeaderColor in theme and group_header_color in colors respectively. That said, we will also progressively refactor out theme-able elements based on customer's feedback and continue making Android Material development easier.
I will keep this thread updated with any news I heard from the team regarding CROS-1030.
Sorry for the delay in sending this.
Good day Jimmy,
The problem reported under CROS-1026 has been resolved. The hotfix (Crosslight 5.0.5000.549) is now available in NuGet.
Please apply the hotfix and let us hear the result.
For more detail about Crosslight NuGet Packages, please refer to this article in Crosslight documentation.
Hello John Bonin and Henrik Ingenäs.
The reported problem under ASPNET-190 has been resolved. The development team has researched a way to be able to detect the compatibility mode automatically, so users don't have to set anything. It just works.
I enclosed the nightly-build of ISNet.WebUI Framework 3.0 as attachment (WebUINET3_0_5000_968.zip).
In order to apply the nightly-build of ISNet.WebUI Framework 3.0 on development PC, you will need to apply the hotfix manually. Please refer to To apply WebUI.NET Framework hotfix section in Apply ASP.NET Product Hotfix Manually tutorial article. If you are using Windows 7 or newer as the operating system of your development PC, you will need to use gacutil to remove/uninstall (gacutil /u [assembly name]) and install (gacutil /i [path to assembly file] assembly into GAC.
Last, please don't forget to apply the nightly-build of of ISNet.WebUI Framework 3.0 on your project/web site.
Please let us know if you have different result.
Apologize for the delay in sending this.
If you don't mind, would you please share the solution with us? I'm sure that your solution will helps other developers who deals with the same scenario.
Thank you.
Deeply apologize for the delay in sending this.
I’m currently working on this ticket and need more time to provide you with solution, suggestion, or sample.
I’ll get back to you as soon as possible.
Edited on March 2, 2016 3:30 AMReason: Update recent progress
Sorry for any inconvenience this problem may have caused you.
The reported problem is fixed in sample level by setting ImageMemberPath to ThumbnailImage in ItemListBindingProvider.
public ItemListBindingProvider() { ItemBindingDescription itemBinding = new ItemBindingDescription { DisplayMemberPath = "Name", DetailMemberPath = "Location", ImageMemberPath = "ThumbnailImage", ImagePlaceholder = "item_placeholder.png" }; ... }
This change has been pushed to the Crosslight Samples / ui-material repository. Please obtain the latest update and let us know if the problem still persist.
Edited on March 6, 2016 11:30 PMReason: Update recent progress
When I insert an object of this type with a synchronous connection the Insert method always returns 1. This is definitely not the primary key. It looks like it returns the number of affected records...
Yes, you are correct. The Insert() method returns the number of inserted rows. For example, in the following snippet code, the value of count will be 2.
List<Item> InsertNewItems = new List<Item>(); InsertNewItems.Add( new ITemplate() { ItemId = -1, CategoryID = 2, Name = "New Item 1", Quantity = 3, Price = 400, Description = "Description of New Item 1" } ); InsertNewItems.Add( new ITemplate() { ItemId = -1, CategoryID = 2, Name = "New Item 2", Quantity = 4, Price = 500, Description = "Description of New Item 2" } ); int count = this.DB.InsertAll(InsertNewItems);
How can I retrieve the primary key of a newly inserted record?...
After invoke Insert(object item); or InsertAll(IEnumerable items), the primary key of newly inserted record will be automatically updated. For example:
Items newItem = new Item() { ItemId = -1, CategoryId = 2, Name = "New Item", Quantity = 3, Price = 100, Description = "New Item Description" }; this.SyncDB.Insert(newItem); Debug.Writeline("Record with Id : " + newItem.ItemId.ToString() + " inserted.");
What about InsertAsync? How does it work here?...
You can invoke InsertAsync(object item) to insert the specified item asynchronously. Please note that the AsyncDb property is of ISQLiteAsyncConnection such as shown in the following:
#region Fields private ISQLiteAsyncConnection _asyncDB; #endregion #region Properties protected ISQLiteAsyncConnection AsyncDB { get { return _asyncDB; } set { if (_asyncDB != value) { _asyncDB = value; this.OnPropertyChanged("AsyncDB"); } } } #endregion #region Constructors public SimpleViewModel() { string dbName = "SQLiteBasic.db3"; ILocalStorageService storageService = ServiceProvider.GetService<ILocalStorageService>(); IActivatorService activatorService = ServiceProvider.GetService<IActivatorService>(); var factory = activatorService.CreateInstance<Func<string, ISQLiteAsyncConnection>>(); this.AsyncDB = factory(storageService.GetFilePath(dbName, LocalFolderKind.Data)); } #endregion #region Methods private async void ExecuteInsert(object parameter) { Item item = new Item(); item.ItemId = -100; item.CategoryId = (this.Items.Count % 3)+1; item.Name = "Item " + Convert.ToString(this.Items.Count + 1); item.Quantity = 100; item.Price = 100000; item.Description = "Description Item " + Convert.ToString(this.Items.Count + 1); await this.Db.InsertAsync(item); this.LoadItem(); this.ToastPresenter.Show("Record "+item.Name.ToString()+" Inserted"); Debug.WriteLine("Record "+item.Name.ToString()+" Inserted"); } #endregion
For more detail, please kindly check Crosslight SQLiteBasic sample.
Hope this helps.
Edited on March 2, 2016 4:30 AMReason: Update recent progress
Any news about the memory leak?
For more detail, kindly check my respond in this thread.
Thank you and have a nice day.
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