How to know app state background to foreground in android?
I had extends my activities from one Baseactivity call and Baseactivity class extends android Activity. I put code appcomeForeground() into base activity on onRestart() but its call when we navigate activity into our foreground app also.
Please suggest way to get call back only when app comes foreground.
Thanks in advance.