title: How do I implement card swipeup in RecyclerView,GridLayout?
body: <p>I have a recycler view and cards.I want a gesture like swipe-up to remove the card.My code is:</p>
  
  <pre><code>        recyclerView = (RecyclerView) findViewById(R.id.recycler_view);
          data_list = new ArrayList&lt;&gt;();
          load_data();
          gridLayoutManager = new GridLayoutManager(this, 1,LinearLayoutManager.HORIZONTAL,false);
          recyclerView.setLayoutManager(gridLayoutManager);
          recyclerView.setHasFixedSize(true);
          adapter = new CustomAdapter(this,data_list);
          recyclerView.setAdapter(adapter);
  </code></pre>
  
  <p>CustomAdapterClass:</p>
  
  <pre><code>public class CustomAdapter extends RecyclerView.Adapter&lt;CustomAdapter.ViewHolder&gt; {
  
  private Context context;
  private List&lt;MyData&gt; my_data;
  
  public CustomAdapter(Context context, List&lt;MyData&gt; my_data) {
      this.context = context;
      this.my_data = my_data;
  }
  
  @Override
  public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
  {
      View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.card,parent,false);
      itemView.setMinimumWidth(parent.getMeasuredWidth());
      itemView.setMinimumHeight(parent.getMeasuredHeightAndState());
      return new ViewHolder(itemView);
  }
  
  @Override
  public void onBindViewHolder(ViewHolder holder, int position)
  {
      holder.userstory.setText(my_data.get(position).getUserstory());
      holder.tasks.setText(my_data.get(position).getTask());
      holder.actual.setText(my_data.get(position).getActuals());
      holder.estimate.setText(my_data.get(position).getTodos());
  
  }
  
  @Override
  public int getItemCount()
  {
      return my_data.size();
  }
  
  public  class ViewHolder extends  RecyclerView.ViewHolder
  {
      public TextView userstory,tasks,actual,estimate;
      public CircularSeekBar seekbar;
  
      public ViewHolder(View itemView)
      {
          super(itemView);
          userstory=(TextView) itemView.findViewById(R.id.tvUserStory);
          tasks=(TextView) itemView.findViewById(R.id.tvTask);
          actual=(TextView) itemView.findViewById(R.id.tvActual);
          estimate=(TextView) itemView.findViewById(R.id.tvEstimate);
      }
  }
  }
  </code></pre>
  
  <p>I am getting the cards in horizontal scroll view.I want to add swipe gesture to dismiss it
  how do I achieve this?</p>