mabbas007 / TagsEditText

Android EditText for view tags or chips
Apache License 2.0
694 stars 124 forks source link

setTag not working #11

Closed masoud2v closed 8 years ago

masoud2v commented 8 years ago

Hi, I want to set Strings as tags but it doesn't work

pmrajani commented 8 years ago

Multi TAG is not adding @mabbas007 i am trying to Add new tags But It's add only one TAG run-time

    for (int i = 0; i < profilelist.size(); i++) {
        tagsEditText.setTags(profilelist.get(i));

    }
rafaltrzcinski commented 8 years ago

Is there a way to add new tag to existing TagsEditText? If TagsEditText contains some characters, setTags(tags) set all editText's content to this tags.

mabbas007 commented 8 years ago

@rt90 Unfortunately you will need to set all the tags all over again

mabbas007 commented 8 years ago

@pmrajani setTags takes an array of strings or CharSequence, not string by string