private void initView() { contentLayout = (LinearLayout) context.getLayoutInflater().inflate(R.layout.layout_recommend, null); lv_helper = (ListView) contentLayout.findViewById(R.id.lv_recommend); pullScrollView.addBodyView(contentLayout); lv_helper.setOnItemClickListener(this); }