Exemplo n.º 1
0
        public override void OnSwiped(RecyclerView.ViewHolder viewHolder, int direction)
        {
            position = viewHolder.AdapterPosition;
            mAdapter.deleteItem(position);
            RecyclerView vista = ((MainActivity)mContext).Window.DecorView.FindViewById <RecyclerView>(Resource.Id.recycler_view_main);

            vista.ScrollToPosition(position);
            vista.SetAdapter(mAdapter);
        }