//public override void SetAdapter(Adapter adapter)
        //{
        //    base.SetAdapter(adapter);
        //}

        public void SetAdapter(MessagesListAdapter adapter)
        {
            SimpleItemAnimator itemAnimator = new DefaultItemAnimator();

            itemAnimator.SupportsChangeAnimations = false;

            LinearLayoutManager layoutManager = new LinearLayoutManager(Context, LinearLayoutManager.Vertical, true);

            SetItemAnimator(itemAnimator);
            SetLayoutManager(layoutManager);
            adapter.LayoutManager = layoutManager;
            adapter.Style         = messagesListStyle;

            AddOnScrollListener(new RecyclerScrollMoreListener(layoutManager, adapter));

            base.SetAdapter(adapter);
        }
 internal Wrapper(MessagesListAdapter outerInstance, MessageData item)
 {
     this.outerInstance = outerInstance;
     this.item          = item;
 }
 public MyOnLongClickListener(MessagesListAdapter outerInstance, Wrapper wrapper)
 {
     this.outerInstance = outerInstance;
     this.wrapper       = wrapper;
 }