mGridView.setOnItemLongClickListener( new OnItemLongClickListener() {
			@Override
			public boolean onItemLongClick(AdapterView<?> parent, View v, int pos, long id) {
				mPosition = pos;
				parent.showContextMenu();
			    return true;
			}
		});
© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha