DavidPizarro / AutoLabelUI

Android library to place labels next to another. If there is not enough space for the next label, it will be added in a new line.
Apache License 2.0
637 stars 107 forks source link

OnRemoveLabelListener position returnes -1 #11

Closed spatrickapps closed 8 years ago

spatrickapps commented 8 years ago
mAutoLabel.setOnRemoveLabelListener(new AutoLabelUI.OnRemoveLabelListener() {
    @Override
    public void onRemoveLabel(View view, int position) {
        Log.i("Position","Position: " + position); //<---- This always return -1 when clicking the x on the label.
    }
});