在按钮单击上滑动android两个listview选择的值

时间:2017-01-11 13:34:14

标签: android listview

listView1.setOnItemClickListener(new AdapterView.OnItemClickListener() {
    @Override
    public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
        pos = position;
        spItem1 = (listView1.getItemAtPosition(position).toString());
        from_value_text.setText(spItem1);
        onCheckValueListener();
    }
});

0 个答案:

没有答案