-
Notifications
You must be signed in to change notification settings - Fork 80
WizardStep.notifyCompleted() causing focus loss #61
Comments
Short answer: yes, it does. Unfortunately there doesn't seem to be anything that I currently can do about it. You should set the focus back to the UI element, which lost it.
It is |
Thanks - I fixed it by extending your code and including a validation On Sat, May 2, 2015 at 12:43 AM, Nimrod Dayan [email protected]
|
care to share your solution? or perhaps make a pull request? thanks! |
i have the same problem. please fix it :D. |
I have the same problem too. @nghamilton if you share your solution it would help. Thanks! |
Sorry for the late response; I made quite a few changes to the code, some of it was through extensions and some through the modifications to the wizardroid code. I'll try to create a branch now that has just a fix for this issue, and set up a pull request. |
I've pushed my changes to the branch I am working on: https://github.com/nghamilton/WizarDroid. I didn't fix this above issue, just worked around it with the features I've put in (validation and a goNext() event). My code also allows for running a wizard within another wizard. Be warned: this was code I hacked to use for what I needed. This also included changing the way the back button worked, and what happened when the user swiped. I'll try to be faster to respond next time, if you have any questions, shoot them through to me. |
Thanks! I'll take a look. I managed to fix it by extending a few of the classes. If anyone is interested I can write a summary of my changes. I didn't modify the wizaedroid library code, so no pull request. I do have suggestions to make some members of some classes protected, so it can be easily extended. |
@locomundo feel free to share what you've done. |
thanks locomundo, can you post your solution here how to extend these classes? Marek |
the same problem with validation fields i think when next step unlock - wizard tell to adapter what we have +1 pages and re-create pages :((( |
@Nimrodda Why do you have to call |
@avrahamshukron calling |
+1, will be great this feature. |
Hello,
I am not convinced this isn't my implementation, but it seems that the notifyCompleted() method is causing interference with EditText field focus.
I have a test on whether a field has text entered (also tried other methods, such as with a OnFocusChangeListener and a setOnEditorActionListener, with same result). After a call to notifyCompleted() focus in the textfield is lost (I can't work out what element it moves to). Does this sound like it is something that could be happening from inside notifyCompleted()?
Thank you for any thoughts.
The text was updated successfully, but these errors were encountered: