// Create new views (invoked by the layout manager)
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            try
            {
                View itemView;
                var  item = SocialList[viewType];
                switch (item.TypeView)
                {
                case SocialModelType.MangedGroups:
                {
                    itemView = LayoutInflater.From(parent.Context)?.Inflate(Resource.Layout.ViewModel_HRecyclerView, parent, false);
                    var vh = new AdapterHolders.GroupsSocialViewHolder(ActivityContext, itemView, this);
                    RecycledViewPool = new RecyclerView.RecycledViewPool();
                    vh.GroupsRecyclerView.SetRecycledViewPool(RecycledViewPool);
                    return(vh);
                }

                case SocialModelType.JoinedGroups:
                {
                    itemView = LayoutInflater.From(parent.Context)?.Inflate(Resource.Layout.Style_GroupCircle_view, parent, false);
                    var vh = new GroupsAdapterViewHolder(itemView, GroupsOnClick, this);
                    return(vh);
                }

                case SocialModelType.Section:
                {
                    itemView = LayoutInflater.From(parent.Context)?.Inflate(Resource.Layout.ViewModel_Section, parent, false);
                    var vh = new AdapterHolders.SectionViewHolder(itemView);
                    return(vh);
                }

                case SocialModelType.MangedPages:
                {
                    itemView = LayoutInflater.From(parent.Context)?.Inflate(Resource.Layout.ViewModel_HRecyclerView, parent, false);
                    var vh = new AdapterHolders.PagesSocialViewHolder(ActivityContext, itemView, this);
                    RecycledViewPool = new RecyclerView.RecycledViewPool();
                    vh.PagesRecyclerView.SetRecycledViewPool(RecycledViewPool);
                    return(vh);
                }

                case SocialModelType.LikedPages:
                {
                    itemView = LayoutInflater.From(parent.Context)?.Inflate(Resource.Layout.Style_HPage_view, parent, false);
                    var vh = new PageAdapterViewHolder(itemView, PageOnClick, this);
                    return(vh);
                }

                default:
                    return(null !);
                }
            }
            catch (Exception exception)
            {
                Methods.DisplayReportResultTrack(exception);
                return(null !);
            }
        }
        // Create new views (invoked by the layout manager)
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            try
            {
                View itemView;
                var  item = SocialList[viewType];
                switch (item.TypeView)
                {
                case SocialModelType.MangedGroups:
                {
                    itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.ViewModel_HRecyclerView, parent, false);
                    var vh = new AdapterHolders.GroupsSocialViewHolder(ActivityContext, itemView);
                    return(vh);
                }

                case SocialModelType.JoinedGroups:
                {
                    itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.Style_GroupCircle_view, parent, false);
                    var vh = new GroupsAdapterViewHolder(itemView, GroupsOnClick);
                    return(vh);
                }

                case SocialModelType.Section:
                {
                    itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.ViewModel_Section, parent, false);
                    var vh = new AdapterHolders.SectionViewHolder(itemView);
                    return(vh);
                }

                case SocialModelType.MangedPages:
                {
                    itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.ViewModel_HRecyclerView, parent, false);
                    var vh = new AdapterHolders.PagesSocialViewHolder(ActivityContext, itemView);
                    return(vh);
                }

                case SocialModelType.LikedPages:
                {
                    itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.Style_HPage_view, parent, false);
                    var vh = new PageAdapterViewHolder(itemView, PageOnClick);
                    return(vh);
                }

                default:
                    return(null);
                }
            }
            catch (Exception exception)
            {
                Console.WriteLine(exception);
                return(null);
            }
        }