private void init(final AttributeSet attrs, final int defStyleAttr, final int defStyleRes) {
        this.context = new ContextThemeWrapper(getContext(), R.style.cgeo);
        this.activity = ViewUtils.toActivity(this.context);
        inflate(this.context, R.layout.wherigo_info_bar_view, this);
        binding = WherigoInfoBarViewBinding.bind(this);
        binding.wherigoInfoBox.setOnClickListener(v -> onBarClick());
        binding.wherigoInfoText.setOnClickListener(v -> onBarClick());
        binding.wherigoResumeDialogIcon.setOnClickListener(v -> onResumeDialogClick());
        binding.wherigoResumeDialogText.setOnClickListener(v -> onResumeDialogClick());
        binding.wherigoSongInfoIcon.setOnClickListener(v -> onSongInfoClick());
        binding.wherigoSongInfoText.setOnClickListener(v -> onSongInfoClick());

        BadgeManager.get().setBadge(binding.wherigoResumeDialogText, false, -1);

        wherigoListenerId = WherigoGame.get().addListener(nt -> refreshBar());
        wherigoAudioListenerId = WherigoGame.get().getAudioManager().addListener(st -> refreshBar());
        refreshBar();
    }
shows info about currently running wherigo (if any)
main/src/main/java/cgeo/geocaching/wherigo/WherigoInfoBarView.java