title: Use ItemTouchHelper for Swipe-To-Dismiss with another View displayed behind the swiped out
body: <p>I have a RecyclerView and want to allow my users to use a swipe gesture to remove items from the list. But as known from other apps (e.g. Gmail), I want to show a delete icon behind it, so that my users know that swiping results in a remove. However, I can't find an obvious way to do that. The ItemTouchHelper uses the viewHolder.itemView, so it takes the whole row.</p>
  
  <p>My code:</p>
  
  <pre><code>    ItemTouchHelper.SimpleCallback simpleItemTouchCallback = new
              ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.LEFT) {
                  @Override
                  public boolean onMove(
                          final RecyclerView recyclerView,
                          final RecyclerView.ViewHolder viewHolder,
                          final RecyclerView.ViewHolder target) {
                      return false;
                  }
  
                  @Override
                  public void onSwiped(
                          final RecyclerView.ViewHolder viewHolder,
                          final int swipeDir) {
                      adapter.remove(viewHolder.getAdapterPosition());
                  }
              };
  
      ItemTouchHelper itemTouchHelper = new ItemTouchHelper(
              simpleItemTouchCallback
      );
      itemTouchHelper.attachToRecyclerView(itemsRecyclerView);
  
      itemsRecyclerView.setLayoutManager(
              new LinearLayoutManager(getContext())
      );
      itemsRecyclerView.setAdapter(adapter);
  </code></pre>
  
  <p>Has anyone a glue if this is possible at all? The only thing I can imagine right now is to extend the ItemTouchHelper / copy the code, and instead of using viewHolder.itemView I take a view identified by an ID.</p>