Error

Error

Error

1 StackOverflow because of EditText's addTextChangedLister

1.1 Problem

We should be carefull when we use addTextChangedLister. Because if we don't add restrictions on text changging, we may have somes trouble that the method would be a endless loop.
afterTextChanged() –> setText() –> afterTextChanged() –> ….

1.2 Solution

Not change the EditText's content in addTextChangedLister().

Author: mlhy

Created: 2015-10-27 Tue 15:55

Emacs 24.5.1 (Org mode 8.2.10)

posted @ 2015-10-22 17:45  mlhy  阅读(79)  评论(0编辑  收藏  举报