Code example for GridView

Methods: invalidateViews

0
			// TODO 
			return true;			 
		case DELETE_ID:
			//TODO: add confirmation dialog 
			mAdapter.deletePage(index);
			mView.invalidateViews();
			return true; 
		default: 
			return super.onContextItemSelected(item);
		} 
	} 
 
	private void populateMenu(Menu menu) {
		//TODO: implement rename function  
		//menu.add(Menu.NONE, RENAME_ID, Menu.NONE, "Rename"); 
		menu.add(Menu.NONE, DELETE_ID, Menu.NONE, "Delete");
		//TODO: implement tagging function  
		//menu.add(Menu.NONE, TAG_ID, Menu.NONE, "Tag"); 
		 
	}