ChooseEditText is an edit that can add tag in edit space
Examples in youtube
How to use
Gradle Dependency
compile 'com.chooseedittext:library:1.0.0'
Declare it inside your layout XML file like this:
<com.library.ChooseEditText
android:id="@+id/chooseedittext"
app:cet_Hint="Input content "
app:cet_TextSize="10sp"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_margin="4dp">
</com.library.ChooseEditText>
add tag
String text="Nike";
chooseEditText.addItem(text);
To monitor text changes
chooseEditText.setOnChooseEditTextListener(new OnChooseEditTextListener() {
@Override
public void onTextChangeed(String text) {
// do something
tvResult.setText(text);
}
});