Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the equivalent method to onResume() in Ionic 2?

Whereas in Android Native there is the onResume() that is part of the life cycle of an activity. Look this:

public void onResume() {
    super.onResume();  // Always call the superclass method first    
}

What is the equivalent method to onResume() in Ionic 2?

like image 246
viana Avatar asked Feb 16 '17 15:02

viana


1 Answers

You can use Platform.resume of ionic 2 as explained here

like image 61
Prerak Tiwari Avatar answered Nov 20 '22 12:11

Prerak Tiwari