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
636 stars 107 forks source link

assigning an id to each label #27

Open dilipp817 opened 6 years ago

dilipp817 commented 6 years ago

Hi all, I just want to assign id to each label. I tried mAutoLabel.setId("some_id"); but ((Label) v).getId() is returning -1 for every label. How can I achieve it?