@Override
        public View createView(LayoutInflater layoutInflater) {
            View view = layoutInflater.inflate(R.layout.with_long_press_list_view_item, null);
            mImageView = (CubeImageView) view.findViewById(R.id.with_long_press_list_image);
            return view;
        }
create a view from resource Xml file, and hold the view that may be used in displaying data.

@param layoutInflater
ptr-demo/src/in/srain/cube/views/ptr/demo/ui/WithLongPressFragment.java