icarus-android icon indicating copy to clipboard operation
icarus-android copied to clipboard

Popover add link function does not work

Open tomasmaks opened this issue 8 years ago • 2 comments

Hello, first of all thank you for your this helpful library, it is really rich.

However, I faced an issue that I cannot add a new link in editor using your library propover. I add text and link, but after I press OK, just nothing happens. Does anyone know what a problem it can be?

tomasmaks avatar Feb 01 '17 13:02 tomasmaks

Hi, please tell me your android version and paste your codes.

mr5 avatar Feb 09 '17 08:02 mr5

I am just trying to implement your code, but it does not work... Something is wrong in LinkPopoverImpl

TextView linkButtonTextView = (TextView) view.findViewById(R.id.button_link);
        linkButtonTextView.setTypeface(iconfont);
        TextViewButton linkButton = new TextViewButton(linkButtonTextView, icarus);
        linkButton.setName(Button.NAME_LINK);
        linkButton.setPopover(new LinkPopoverImpl(linkButtonTextView, icarus));
        toolbar.addButton(linkButton);

tomasmaks avatar Feb 13 '17 15:02 tomasmaks