close #331
This commit is contained in:
parent
3e387cd1b3
commit
cfc41d8554
|
@ -388,6 +388,7 @@ public abstract class AbsStatusesFragment<Data> extends AbsContentListRecyclerVi
|
||||||
if (mPopupMenu != null) {
|
if (mPopupMenu != null) {
|
||||||
mPopupMenu.dismiss();
|
mPopupMenu.dismiss();
|
||||||
}
|
}
|
||||||
|
if (getActivity() == null) return;
|
||||||
final AbsStatusesAdapter<Data> adapter = getAdapter();
|
final AbsStatusesAdapter<Data> adapter = getAdapter();
|
||||||
final PopupMenu popupMenu = new PopupMenu(adapter.getContext(), menuView,
|
final PopupMenu popupMenu = new PopupMenu(adapter.getContext(), menuView,
|
||||||
Gravity.NO_GRAVITY, R.attr.actionOverflowMenuStyle, 0);
|
Gravity.NO_GRAVITY, R.attr.actionOverflowMenuStyle, 0);
|
||||||
|
|
Loading…
Reference in New Issue