Media_httpimagesinsta_ahcsf

Taken at Parkyard Hotel Shanghai

Media_httpimagesinsta_bwync

Taken at HTC Research Center (Sindian Branch)


今天吃拉雅 (Taken with Instagram at 新竹高鐵站hsinchu Thsr)

Media_httpimagesinsta_cjysq

Taken at HTC Research Center (Sindian Branch)

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.