Android Run Java everytime page accessed -


I currently have a home screen of my app where it displays a number, all this show is how many questions Answers have been given. Another button takes you to answer the questions and it updates the value of the database.

I've found that the home page number updates for the first time only when the app is opened. This price does not update if you go back to a page.

What should I do to ensure that it is run every time?

I believe that the main method of the onResume The bar will be displayed again.

Comments

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

Mysql Local server hardware -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -