OneSignal Push

Hello All, firstly sorry for my bad English.

I want to receive a push with data from onesignal and set local and if the list is open refresh a list. The page isn’t root, and I can navigate or if local isn’t null I redirect to this page from MyApp class when app is open.
My question is, the init, handleNotificationOpened of onesignal goes to MyApp class, or in the class of my list.

Thanks