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() –> ….
css

1.2 Solution

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

Author: mlhyjava

Created: 2015-10-27 Tue 15:55sql

Emacs 24.5.1 (Org mode 8.2.10)bash

相關文章
相關標籤/搜索