Code example for ListView

Methods: setItemChecked

0
	/* (non-Javadoc) 
	 * @see android.support.v4.app.ListFragment#onListItemClick(android.widget.ListView, android.view.View, int, long) 
	 */ 
	@Override 
	public void onListItemClick( ListView l, View v, int position, long id ) {
		l.setItemChecked( position, true );
	} 
 
	public MainApplication getMainApplication() { 
		return (MainApplication) getActivity().getApplicationContext();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE