title: Drag-drop not working in nhaarman's ListviewAnimation library
body: <p>I am using nhaarman's ListviewAnimation library <a href="https://github.com/nhaarman/ListViewAnimations">https://github.com/nhaarman/ListViewAnimations</a> which works great.</p>
  
  <p>But I am facing following issues:</p>
  
  <p>The main problem I am facing is, I am not able to debug my code. I have directly copy/pasted the four required libraries into <code>libs</code> folder. Placing a debug point inside any of the listview methods like <code>onItemLongClick()</code> does not work.</p>
  
  <p>The second problem is, drag-drop listView is not working in my code. Whenever I try to drag any list item, on dropping the list item, the item takes the same position from which it was dragged.</p>
  
  <p>Here's the code I have used:</p>
  
  <pre><code>listview.enableDragAndDrop();
  listview.setDraggableManager(new TouchViewDraggableManager(
          R.id.list_row_draganddrop_textview));
  listview.setOnItemMovedListener(this);
  listview.setOnItemLongClickListener(this);
  
  @Override
      public void onItemMoved(final int originalPosition, final int newPosition) {
          if (mToast != null) {
              mToast.cancel();
          }
  
          mToast = Toast.makeText(getApplicationContext(), "Moved"
                  + swingBottomInAnimationAdapter.getItem(newPosition)
                  + newPosition, Toast.LENGTH_SHORT);
          mToast.show();
      }
  
      @Override
      public boolean onItemLongClick(final AdapterView&lt;?&gt; parent,
              final View view, final int position, final long id) {
          if (listview != null) {
              listview.startDragging(position - listview.getHeaderViewsCount());
          }
          return true;
      }
  </code></pre>