Giter Site home page Giter Site logo

edittag's Introduction

edittag's People

Contributors

qiugang avatar shaishavgandhi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edittag's Issues

Several methods cannot be resolved

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 change background colors of the tag programatically?

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?

OnKeyListener on EditTag

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 :)

latest version

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.

Add library to gradle

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! ๐Ÿ˜„

Programmatiaclly remove tags?

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!

Is there any way in which we can only display the tags?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.