[Solved] Array List action listener [closed]


If your ListView has more than one TextViews use something like this to retrieve the data

    list.setOnItemClickedListener(new OnItemClickedListener() {
AdapterView<?> parent, View view, int position, long id){
    Textview i1 = view.findViewById(R.id.t1);
    Textview i2 = view.findViewById(R.id.t2);
    String text = i1.getText()+i2.getText();
    }
} ;

2

solved Array List action listener [closed]