我自己implements Popover,实现了show和hide方法。
将示例中的代码修改如下:
TextView imageButtonTextView = (TextView) findViewById(R.id.button_image);
imageButtonTextView.setTypeface(iconfont);
TextViewButton imageButton = new TextViewButton(imageButtonTextView, icarus);
imageButton.setName(Button.NAME_IMAGE);
imageButton.setPopover(new ImgPopover());
toolbar.addButton(imageButton);
但当我点击这个按钮的时候并没有调用show方法,只是插入了一张tower的logo
我已经写好了相册选择,压缩上传等功能,想知道应该在什么地方调用这些功能