Code example for GridView

Methods: invalidateViews

0
    } 
 
    public void notifyAddedProject() { 
 
	projectAdapter.notifyDataSetChanged();
	gridView.invalidateViews();
    } 
 
    @Override 
    public View getView() {
	return super.getView(); 
    } 
 
    @Override 
    public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
	super.onCreateContextMenu(menu, v, menuInfo);
	MenuInflater inflater = getActivity().getMenuInflater();
	inflater.inflate(R.menu.project_list, menu);
    } 
 
    @Override