21 lines
652 B
Java
21 lines
652 B
Java
package androidx.core.widget;
|
|
|
|
import android.view.View;
|
|
import android.widget.ListPopupWindow;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
public final class ListPopupWindowCompat {
|
|
private ListPopupWindowCompat() {
|
|
}
|
|
|
|
@Nullable
|
|
public static View.OnTouchListener createDragToOpenListener(@NonNull ListPopupWindow listPopupWindow, @NonNull View view) {
|
|
return listPopupWindow.createDragToOpenListener(view);
|
|
}
|
|
|
|
@Deprecated
|
|
public static View.OnTouchListener createDragToOpenListener(Object obj, View view) {
|
|
return createDragToOpenListener((ListPopupWindow) obj, view);
|
|
}
|
|
}
|