protected static OrientationHelper CreateOrientationHelper(RecyclerView.LayoutManager layoutManager) { return(layoutManager.CanScrollHorizontally() ? OrientationHelper.CreateHorizontalHelper(layoutManager) : OrientationHelper.CreateVerticalHelper(layoutManager)); }
private OrientationHelper GetHorizontalHelper(RecyclerView.LayoutManager layoutManager) { return(_horizontalHelper ?? (_horizontalHelper = OrientationHelper.CreateHorizontalHelper(layoutManager))); }
private OrientationHelper getHorizontalHelper(RecyclerView.LayoutManager layoutManager) => horizontalHelper ?? (horizontalHelper = OrientationHelper.CreateHorizontalHelper(layoutManager));