public void pairResult(final NeighbourAdapter.AdapterItem item, boolean accepted) { if (accepted) { Toast.makeText(getActivity(), R.string.neighbour_pairing_accepted, Toast.LENGTH_SHORT).show(); neighbourAdapter.setPaired(item, true); } else { Toast.makeText(getActivity(), R.string.neighbour_pairing_denied, Toast.LENGTH_SHORT).show(); } }