There is a ViewPager with 4 pages, which method can track the transition from one tab to another?
This is necessary so that when the tab is "closed", the values from the Edittext saved to the database. For example: the tab of the Users tab is displayed, a slide, or tap-ohm we go to the System tab (the Users tab is closed), Then the values of Edittext ov and checkbox ov are saved in the database (there will be implemented via db.update() .
Here I addTextChangeListener looking for something similar to addTextChangeListener
Here is the view of the application:

