i am confusing about how to trigger an event when the activity is changed. one thing that i know is using OnWindowFocusChanged method but i don't know how to use it. please help just one example, when the activity changed, it shows a toast said "Activity changed"
thanks in advance.