Esempio n. 1
0
        public void Orientation(OrientationListView view)
        {
            var wrapedListView = WrappedObject as RecyclerView;

            if (wrapedListView == null)
            {
                ExceptionLogger.RaiseNonFatalException(
                    new ExceptionWithCustomStack(
                        WrappedObjectIsNull,
                        Environment.StackTrace));
            }

            if (view == OrientationListView.Horizontal)
            {
                wrapedListView?.SetLayoutManager(new GridLayoutManager(AppTools.CurrentActivity, _limitCount, LinearLayoutManager.Horizontal, false));
            }
        }
 public void Orientation(OrientationListView view)
 {
 }