edtInputA.addTextChangedListener(new TextWatcher() {
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
// TODO Auto-generated method stub
}
@Override
public void beforeTextChanged(CharSequence s, int start, int count,
int after) {
// TODO Auto-generated method stub
}
@Override
public void afterTextChanged(Editable s) {
// TODO Auto-generated method stub
}
});
Và:
editText.addTextChangedListener(this);
07/06/2012:
Service, Activity, Broadcast receiver chạy chung một thread hay khác nhau, mỗi khi tạo 1 obj là tạo 1 thread ah, làm sao để biết(thread id - DDMS)?
Không có nhận xét nào:
Đăng nhận xét