Code example for TwoLineListItem

Methods: getText1getText2

1
		} else { 
			view = (TwoLineListItem) convertView;
		} 
 
		// Set value for the first text field 
		if (view.getText1() != null) {
			String key = item.getName();
			view.getText1().setText(key);
		} 
 
		// set value for the second text field 
		if (view.getText2() != null) {
			String verseText = searchControl.getSearchResultVerseText(item);
			view.getText2().setText(verseText);
		} 
 
		return view;
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE