- Interface OnEditorActionListener
可利用 <TextView>.setOnEditorActionListener 和 override onEditorAction,設定當使用者按下 IME 的 Enter 時的動作。
Android developer page:
http://developer.android.com/reference/android/widget/TextView.OnEditorActionListener.html
Introduction of use:
http://blog.csdn.net/sunchaoenter/article/details/7208636 - Interface TextWatcher
設定當輸入字串改變前/中/後時的動作。ex. 當字串為XXX時自動改為XXX.com
Android developer page:
http://developer.android.com/reference/android/text/TextWatcher.html
Introduction of use:
http://blog.csdn.net/yanbin1079415046/article/details/8350864
沒有留言:
張貼留言