Skip to content

AlexKGwyn/ChipEditText

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ChipEditText

A view that can display chips as set out by the design guidelines

Gradle Dependency (jCenter)

Easily reference the library in your Android projects using this dependency in your module's build.gradle file:

dependencies {
    compile 'com.alexgwyn:chipedittext:1.0.0'
}

Basic Usage

Basic usage is similar to usage for an AutocompleteEditText. You need to create an adapter to map your model to the choices in the ChipEditText

mChipEditText = (ChipEditText) findViewById(R.id.chipEditText);
mChipEditText.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
mChipEditText.setAdapter(mSampleAdapter);
mChipEditText.setChipChangedListener(this);

See the sample project for a full example of usage.

About

A view that can display chips as set out by the design guidelines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages