public class ClipboardPresenter extends TipFloatPresenter {
private static final String KEY_TAG = "clipboard";
@Inject
ClipboardManagerCompat mClipboardWatcher;
private List<Result> results;
<BUG>private int currentIndex = -1;
private ClipboardManagerCompat.OnPrimaryClipChangedListener mListener = () -> {</BUG>
CharSequence content = mClipboardWatcher.getText();
if(content != null){
performClipboardCheck(content.toString());

public class ClipboardPresenter extends TipFloatPresenter {
private static final String KEY_TAG = "clipboard";
@Inject
ClipboardManagerCompat mClipboardWatcher;
private List<Result> results;
private int currentIndex = -1;
Subscription mSubscription;
Action1 mActionShowTip;
private ClipboardManagerCompat.OnPrimaryClipChangedListener mListener = () -> {
CharSequence content = mClipboardWatcher.getText();
if(content != null){
performClipboardCheck(content.toString());
