Twitter for Android popup a user list when you enter “@” in post screen. Like this:

T1

How it implement such feature? The solution can’t be simpler - You could use MultiAutoCompeleteTextView to do this.

Here is the sample codes:

And the result:

T2

To use this widget, you need to implement a Tokenizer to tell it where the sub text is. In this case, just find the string between ’@’ and space.

[筆記][node.js] 使用nvm安裝查克拉版的node.js

從[nodejs 8](https://nodejs.org/en/blog/release/v8.0.0/)開始, nodejs可以不再需要一定跟V8綁在一起了, 之後底層的Engine可以換成微軟的[查克拉](https://github.com/Microsoft/C...… Continue reading