Open
Description
Description
Generally everything in the subject. I tried to override the default implementation of CollectionView handler. On Android this is not an issue, but with iOS cannot set UICollectionVIew.ContentInset = Padding, because ContentInset being reset by the internal implementation of CollectionView handler. So this is more architectural change of the handler and related things.
Public API Changes
var collView = new CollectionView();
collView.Padding = new Thickness(15);
Intended Use-Case
Padding for CollectionView can be very helpful, especially if you have GridLayout and you need space around edge views but the scrollbar stick to the edge. Doing it with margins of each item is not the proper way to achieve this, even more, in this case you need to calculate margins only for those edge views.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment