Skip to content

Removes unnecessary views to avoid listview in stacklayout NS warning

David Burke requested to merge 242-fix-scrollview-warning into dev

Closes #242 (closed)

Fixes the warning by removing nested views we didn't really need. I tested this on phone and tablet layouts. On the web we use a ton of div's carelessly for logic control. It seems the costs are much higher in native app land. I found I could simply avoid the listview in a stacklayout by removing views. Scroll still works in both tablet and phone. I tested the list, the edit route, and add route. It's easier to test the from scrolling by opening up an on screen keyboard (otherwise you'd need a really tiny device to show it scroll).

In conclusion I believe this achieves exactly the same functionality with less views which should perform better. I have no data to prove this other than it removes the warning.

Merge request reports