There is a problem, when i use OnPrimaryClipChangedListener to lesten clipboard change.
it always get twice. can somebody help me?
Code is like this:
private OnPrimaryClipChangedListener clipListener = new OnPrimaryClipChangedListener() {
@Override
public void onPrimaryClipChanged() {
Log.d("mytag", '--------->clip--------->');
}
}
when I clip, I get two logs output. Does someone has the same problem?
D/mytag --------->clip--------->
D/mytag --------->clip--------->