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

Add list of labels #15

Open eresid opened 8 years ago

eresid commented 8 years ago

For example

List<String> tags = new ArrayList<>();
tags.add("cars");
tags.add("home");
tags.add("people");

AutoLabelUI mAutoLabel = (AutoLabelUI) findViewById(R.id.tags);
mAutoLabel.addLabels(tags);