android中listview点击事件的监听实现

listview_bookmark.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
                TextView bookmark_title=(TextView)view.findViewById(R.id.bookmark_title);
                Log.i("HelloWorld",bookmark_title.getText().toString());
            }
        });

 

posted @ 2016-05-05 15:33  zqxLonely  阅读(1279)  评论(0编辑  收藏  举报