class BaseLayerSwitcherPlugin implements PopupMenu.OnMenuItemClickListener {

    public void showPluginSwitcherView() {
        if (kujakuMapView != null) {
            if (layerSwitcherFab == null) {
                layerSwitcherFab = kujakuMapView.findViewById(R.id.fab_mapview_layerSwitcher);
            }

            layerSwitcherFab.setVisibility(View.VISIBLE);

            layerSwitcherFab.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    if (popupMenu == null) {
                        showPopup(layerSwitcherFab);
                    } else {
                        popupMenu.dismiss();
                    }
                }
            });
        }
    }

    public  BaseLayerSwitcherPlugin(@NonNull KujakuMapView kujakuMapView, @NonNull Style style);

}