Not very fancy and nothing that you can't write yourself in several minutes or so, EmailCompletionEditText is a helpful component I wrote for a project I'm currently working on.
Just a simple EditText that will help you type in some Email accounts in a CSV format.
A drop-down list will open while you're typing and will help you . . .
A standard AutoCompleteTextView, but a bit nicer
What can be nice about an AutoCompleteTextView ?
- It tells you whether the user selected an item from its drop down list, or simply typed some text ignoring auto-complete suggestions.
- It will performFiltering(CharSequence,int) immediately onTouchEvent(MotionEvent).
- It is available for download in this Gist :-)
Yes, instead you can . . .
A helper class for handling RecyclerView's click events
At the time of writing this article , there is no support for RecyclerView's long-item-click event.
In a need to detect and capture such an event, I decided to create RecyclerViewItemTouchListener, and recently extended it to support single and double click events.
RecyclerViewItemTouchListener wraps a GestureDetector and uses it to . . .