Hi all;
I'm using a listview in drawer navigation. What's the best way to remove items from the listview if (for example) you detect that a user is using a tablet instead of a phone? Currently I just have two lists and use jQuery to hide one based on form factor - is there a better way? I tried using .remove() but couldn't seem to get it working with a static list of items that isn't data bound.
Thanks,
Jason
I'm using a listview in drawer navigation. What's the best way to remove items from the listview if (for example) you detect that a user is using a tablet instead of a phone? Currently I just have two lists and use jQuery to hide one based on form factor - is there a better way? I tried using .remove() but couldn't seem to get it working with a static list of items that isn't data bound.
Thanks,
Jason