iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Latest Development Blogs
Browse By Tag
Hello Yudi aka Crosslight Support,
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.
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.
How can I fix this?
your proposed workaround solves the problem.
I was able to reproduce the reported problem in my local end.
The problem happen because IsEditing in ViewModel doesn't change to true when the view changed into edit mode. I got the expected result if modify my command (in the ViewModel) into the following:
public void ExecuteCustomCmd(object parameter)
this.IsEditing = true;
// do something in here
this.IsEditing = false;
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.
Hope this helps.
Forgot your password | Sign up
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
Already a member? Sign in