1

Get stackoverflow when use two text watchers in android

view story
linux-howto

http://stackoverflow.com – I have a problem. I have two Edittexts where I have a dates. I am using addTextChangeListener to check changes in text. This is code: tvDateFrom.addTextChangedListener(new TextWatcher() { @Override public void onTextChanged(CharSequence s, int start, int before, int count) { SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy"); Date dateFromPicker = null; if(listOfSBPData!=null) try { dateFromPicker = sdf.parse(tvDateFrom.getText().toString()); String dt = tvDateFrom.getText().toString(); SimpleD (HowTos)