title: How to use Listview with pull to refresh and swipe to delete
body: <p>I am using swipe to delete in my bu using <a href="https://github.com/baoyongzhang/SwipeMenuListView" rel="nofollow">this</a> library. and Also using the swipe to refresh and for it I am using <strong>android.support.v4.widget.SwipeRefreshLayout</strong> so the design is good and all looks good when I swipe down to refresh. My list gets refresh and contents are updated. </p>
  
  <p>Following is my layout </p>
  
  <pre><code>&lt;android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/swipe_refresh_layout"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  
  &gt;
  &lt;FrameLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:clickable="true"&gt;
  &lt;com.baoyz.swipemenulistview.SwipeMenuListView
      android:id="@+id/listView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:dividerHeight="5.0sp"
      android:divider="@android:color/transparent"/&gt;
  
  &lt;ScrollView
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_gravity="center"
      android:gravity="center"&gt;
      &lt;TextView
          android:id="@+id/swipeRefreshLayout_emptyView"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical"
          android:visibility="gone"
          android:gravity="center"
          /&gt;&lt;/ScrollView&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>
          </p>
  
  <p><strong>Problem :</strong> </p>
  
  <p>As I want to delete the item by using the swipe to delete , for this I have to swipe from right to left to open the menu of delete and it gets open but When I touch on it nothing happens. </p>
  
  <p>I am on the result now and I think that two times of gesture are intercepting each other. I did debug and nothing my menu for deleting the item is not listening for click. </p>
  
  <p>Please help I am stuck in the middle. Any suggestion you can help me with ? </p>
  
  <p>Update 1 </p>
  
  <p>I debug the code and it is showing me following in the log when Ever I click to delete button in the menu </p>
  
  <blockquote>
    <p>D/ViewRootImpl: ViewPostImeInputStage ACTION_DOWN</p>
  </blockquote>
  
  <p>I think it is something that is ignoring my touch to delete the item</p>