Code example for ListFragment

Methods: onActivityResult

0
	  } 
	   
	   @Override 
	   public void onActivityResult(int requestCode, int resultCode, Intent data) 
	   { 
			super.onActivityResult(requestCode, resultCode, data);
	   } 
 
	  @Override 
	  public void onListItemClick(ListView l, View v, int position, long id) 
	  {   
		  if (position == 0)
		  { 
			  return; 
		  } 
		   
		  int category = ((CategoryListItem) v).getCategoryId();
		  //Log.d("SPOCK", "Callback with Category: " + category); 
		  mCallback.onCategorySelected(category);
	  }