I have been reading the threads on the issues with FocusChanged on edittexts. I'm running into an issue where I have an edittext field and a listview along with a couple of buttons. The process is basically a user enters some data into the edit text field and it adds a row to the listview.
The issue doesn't appear until the user processes the data they have entered which consists of creating a CSV file and sends it on its way. The problem comes when the app calls listview.clear and it generates a call to the edittext_focuschanged for some reason. It sets the HasFocus to true and then the edittext field no longer responds to the user when you touch/tap on the field to enter new data into the text field. It seems to be stuck on true. I can touch/tap on other buttons and they respond but nothing doing with the edittext.
I was hoping I could force the HasFocus to false so it would be ready to respond but so far no luck. Any hints to resolving this would be most helpful. I'm working to create a small app that duplicates this but have not gotten it yet.
Thanks, boa
The issue doesn't appear until the user processes the data they have entered which consists of creating a CSV file and sends it on its way. The problem comes when the app calls listview.clear and it generates a call to the edittext_focuschanged for some reason. It sets the HasFocus to true and then the edittext field no longer responds to the user when you touch/tap on the field to enter new data into the text field. It seems to be stuck on true. I can touch/tap on other buttons and they respond but nothing doing with the edittext.
I was hoping I could force the HasFocus to false so it would be ready to respond but so far no luck. Any hints to resolving this would be most helpful. I'm working to create a small app that duplicates this but have not gotten it yet.
Thanks, boa