如何将 ItemSize 设置为全尺寸宽度和高度?旋转屏幕时还动态更改 ItemSize 吗?
public class SearchResultView : MvxCollectionViewController
{
private bool _isInitialised;
public SearchResultView()
: base(new UICollectionViewFlowLayout()
{
ItemSize = new SizeF(UIScreen.MainScreen.Bounds.Width, UIScreen.MainScreen.Bounds.Height),
ScrollDirection = UICollectionViewScrollDirection.Horizontal,
})
{
}
}