ListPopupWindowCompat.java 1.2 KB
package android.support.v4.widget;

import android.os.Build.VERSION;
import android.view.View;
import android.view.View.OnTouchListener;
import android.widget.ListPopupWindow;

public final class ListPopupWindowCompat
{
  static final c a = new a();
  
  static
  {
    if (Build.VERSION.SDK_INT >= 19)
    {
      a = new b();
      return;
    }
  }
  
  public static View.OnTouchListener createDragToOpenListener(Object paramObject, View paramView)
  {
    return a.a(paramObject, paramView);
  }
  
  static class a
    implements ListPopupWindowCompat.c
  {
    public View.OnTouchListener a(Object paramObject, View paramView)
    {
      return null;
    }
  }
  
  static final class b
    extends ListPopupWindowCompat.a
  {
    public final View.OnTouchListener a(Object paramObject, View paramView)
    {
      return ((ListPopupWindow)paramObject).createDragToOpenListener(paramView);
    }
  }
  
  static abstract interface c
  {
    public abstract View.OnTouchListener a(Object paramObject, View paramView);
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/widget/ListPopupWindowCompat.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */