java - Android OnTabChangingListener -


There is a set of tab tabbed in the Widgets tab, when the tab changes, but I need to run the code before the tab To validate the data entered, is it possible to change? I was thinking of using a click listener but it seems that it would be fair to detect clicks on the item and I still do not believe how you change the tab and show a message.

I do not know before you can change the tab, you can check something, though there is an option. When the tab changes, check your, and if the data entered is not valid, change the content of the tab to display the message, or clear it and pop a message box explaining the error. From there, you can set up the dialog when it stops, set it to set the return tab to return to the int index tab, which is pointing to the input.

Does that help?


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -