Code example for TwoLineListItem

Methods: getText1getText2

0
		} else { 
			view = (TwoLineListItem) convertView;
		} 
 
		// Set value for the first text field 
		if (view.getText1() != null) {
			String text = item.getCode();
			view.getText1().setText(text);
		} 
 
		// set value for the second text field 
		if (view.getText2() != null) {
			String text = item.getDescription();
			view.getText2().setText(text);
		} 
 
		return view;
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java