Simplification

pull/207/head
M66B 3 years ago
parent 35a4726338
commit 9fad7d3d19

@ -45,7 +45,7 @@ import androidx.lifecycle.OnLifecycleEvent;
public class PopupMenuLifecycle extends PopupMenu {
public PopupMenuLifecycle(@NonNull Context context, LifecycleOwner owner, @NonNull View anchor) {
super(new ContextThemeWrapper(context, R.style.popupMenuStyle), anchor);
super(context, anchor, Gravity.NO_GRAVITY, R.attr.popupMenuStyle, R.style.popupMenuStyle);
Log.i("Instantiate " + this);
owner.getLifecycle().addObserver(new LifecycleObserver() {

Loading…
Cancel
Save