I set up setcontent(intent)in TabWidget. But I want to make a check before switch. If the condition was established it will switch. If not it won’t switch. How to realize this?
After switch it will return last activity default and save the relevant information. How to let it reload every time?