Fix a NPE with performLongClick
Prevent performLongClick event to be dispatched after the fragment is detached and thus getActivity returning null. A similar result can be achieved by checking if getActivity is null within OnItemLongClickListener.
Loading
Please register or sign in to comment