Code example for CheckedTextView

Methods: getText, isChecked

0
	 * for selected (true) unselected (false), so it can add the POI to 
	 * proximity alerts 
	 */ 
	public void onListItemClick(ListView lv, View v, int position, long id) {
		CheckedTextView check = (CheckedTextView) v;
		onSelect.onPointSelect( check.getText().toString(), check.isChecked());
	} 
	 
	/** 
	 * generate consistent item keys for saving the lists state in SharedPreferences 
	 * @param pos 
	 * @return 
	 */ 
	protected static String getItemPreferenceKey(int pos) { // this is accessed by main activity when updating GUI
		return PACKAGE + "_" + KEY_ITEM_POSITION + "_" + pos;
	} 
	 
	/** 
	 * iterate through shared preferences and set lists's values to what they were on last stop 
	 */ 
	public void onStart() {