1

Validating data onTabChanged Listener

view story
linux-howto

http://stackoverflow.com – I have an Activity (parent) which has the tabhost, tabwidget and the 3 tabs inside the parent have their content set to 3 different activities which have their own methods to show and validate data. Now, by default tab #1 is displayed and unless the user filled data is not validated correctly then user is not able to change from tab #1 to tab #2. but if the user after correctly entering data into tab#1 form fields goes back to tab#1 from tab#2 and then deletes/unchecks a previously filled/selected value then he should not be able to switch to tab #2 unless he corrects the invalid values.I tr (HowTos)