public boolean inRangeOfView(View view, MotionEvent ev) {
        int[] location = new int[2];
        if (view==null||!view.isShown()){
            return false;
        }
        view.getLocationOnScreen(location);
        int x = location[0];
        int y = location[1];
        if (ev.getRawX() < x
                || ev.getRawX() > (x + view.getWidth())
                || ev.getRawY() < y
                || ev.getRawY() > (y + view.getHeight())) {
            return false;
        }
        return true;
    }
callback method to be invoked when an item in this view has been
click and held

@param view     The view whihin the AbsListView that was clicked
@param position The position of the view int the adapter
@return true if the callback consumed the long click ,false otherwise
common/src/main/java/com/sxjs/common/base/baseadapter/listener/SimpleClickListener.java