I'm Gang, an Android engineer at NetEase
-
๐ญ Currently working on NetEaseMusic for Android๐ต
-
๐ฎ Contact me with [email protected] ๐
@Deprecated. A view to edit tag just like EditText edit text.
Home Page: http://qiugang.github.io/edit-tag-view
License: MIT License
I'm Gang, an Android engineer at NetEase
๐ญ Currently working on NetEaseMusic for Android๐ต
๐ฎ Contact me with [email protected] ๐
Hi,
I am trying to setup my app using the exact code in your samples so I can see how this works and then implement it myself. Everything in all of my layouts and the MainActivity.java is the exact same as yours but I am getting several errors about methods that cannot be resolved. These code chunks are below with respective error messages.
editTagView.setTagAddCallBack(new EditTag.TagAddCallback() {
@Override
public boolean onTagAdd(String tagValue) {
if ("test1".equals(tagValue)) {
return false;
} else {
return true;
}
}
});
Cannot resolve method setTagAddCallBack()
Cannot resolve method TagAddCallback
editTagView.setTagDeletedCallback(new EditTag.TagDeletedCallback() {
@Override
public void onTagDelete(String deletedTagValue) {
Toast.makeText(CreatePostActivity.this, deletedTagValue, Toast.LENGTH_SHORT).show();
}
});
Cannot resolve method setTagDeletedCallback()
Cannot resolve method TagDeletedCallback
editTagView.removeTag("test3");
Cannot resolve method removeTag(java.lang.String)
I was hoping you would be able to figure out what's causing this.
how to set hint in input layout pro programmatically
i need to set hint in two different fragments using same layout how can i do this. Please guide thanks
Hi,
First of all I would like to say thanks for this awesome library. It is really helpful.
Now I am trying to change the background color of the tags programatically but I can't find anything that does that. It seems the layout we set in the EditTag field only changes the background color. Below is the code that I tried to change the background color but it only changes the color of the first tag only,
editTagView.findViewById(R.id.txt_lable).setBackgroundColor(Color.BLACK);
How can I change the background color for all the tags?
Hi, I've unsuccessfully tried to run tagsText.setOnKeyListener(addTagKeyListener)
to detect when an user introduces a space or a comma on an EditTag (called tagsText here ;) and add it to the List of tags.
Any ideas on how to implement this into EditTag or a workaround to achieve this with both physical and soft keyboard?
Thank you guys!
P.S. I truly like your work so far :)
what is latest version?
In my project, I have to use dependency and need to know latest version.
compile 'com.github.qiugang:EditTag:1.2.3'
I tried to use this, but it doesn't work.
Hello,
I tried following these instructions so the related parts of my build.gradle (app) looks like this:
buildscript { repositories { maven { url 'https://maven.fabric.io/public' } maven { url 'https://jitpack.io' } }
compile 'com.github.qiugang:EditTag:v1.2.3'
but Android Studio still displays this error message:
Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
Could not find com.github.qiugang:EditTag:v1.2.3.
Required by:
myapp-yeah:app:unspecified
Any comment on this? Thank you! ๐
Any methods/ways exist to programmatially remove tag from this view?
use case is using this view to hold values that originate from a checkable source.
So that when the value is unchecked in the list, I would like the ability to also cleanly
remove the value from editTag view.
thanks for lib!
I can not find the last version
I need to make a tag on space clicked, like on action done pressed, how to?
Right now, if I set a taglist, it displays the tags but also adds a cursor along with it to add new tags, which is great. Another use case for this plugin is to only display tags. Is this feature already present? If not I'll be happy to work on it and make a pull request
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.