package com.androidapps.ruman.activitylifecycle;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    public void onContentChanged() {
        super.onContentChanged();
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    protected void onRestart() {
        super.onRestart();
    }

    @Override
    protected void onStart() {
        super.onStart();
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    protected void onResumeFragments() {
        super.onResumeFragments();
    }

    @Override
    protected void onPostResume() {
        super.onPostResume();
    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
    }

    @Override
    protected void onPause() {
        super.onPause();
    }

    @Override
    protected void onStop() {
        super.onStop();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

}

@@ -117,16 +117,45 @@
 ctivity;
+%0Aimport android.widget.Toast;
 %0A%0Apublic
@@ -250,24 +250,114 @@
 Changed() %7B%0A
+        Toast.makeText(MainActivity.this, %22onContentChanged%22, Toast.LENGTH_SHORT).show();%0A
         supe
@@ -556,716 +556,1552 @@
     
-%7D%0A%0A    @Override%0A    protected void onRestart() %7B%0A        super.onRestart();%0A    %7D%0A%0A    @Override%0A    protected void onStart() %7B%0A        super.onStart();%0A    %7D%0A%0A    @Override%0A    protected void onResume() %7B%0A        super.onResume();%0A    %7D%0A%0A    @Override%0A    protected void onResumeFragments() %7B%0A        super.onResumeFragments();%0A    %7D%0A%0A    @Override%0A    protected void onPostResume() %7B%0A        super.onPostResume();%0A    %7D%0A%0A    @Override%0A    public void onBackPressed() %7B%0A        super.onBackPressed();%0A    %7D%0A%0A    @Override%0A    protected void onPause() %7B%0A        super.onPause();%0A    %7D%0A%0A    @Override%0A    protected void onStop() %7B%0A        super.onStop();%0A    %7D%0A%0A    @Override%0A    protected void onDestroy() %7B
+    Toast.makeText(MainActivity.this, %22onCreate%22, Toast.LENGTH_SHORT).show();%0A    %7D%0A%0A    @Override%0A    protected void onRestart() %7B%0A        super.onRestart();%0A        Toast.makeText(MainActivity.this, %22onRestart%22, Toast.LENGTH_SHORT).show();%0A    %7D%0A%0A    @Override%0A    protected void onStart() %7B%0A        super.onStart();%0A        Toast.makeText(MainActivity.this, %22onStart%22, Toast.LENGTH_SHORT).show();%0A    %7D%0A%0A    @Override%0A    protected void onResume() %7B%0A        super.onResume();%0A        Toast.makeText(MainActivity.this, %22onResume%22, Toast.LENGTH_SHORT).show();%0A    %7D%0A%0A    @Override%0A    protected void onResumeFragments() %7B%0A        super.onResumeFragments();%0A        Toast.makeText(MainActivity.this, %22onResumeFragments%22, Toast.LENGTH_SHORT).show();%0A    %7D%0A%0A    @Override%0A    protected void onPostResume() %7B%0A        super.onPostResume();%0A        Toast.makeText(MainActivity.this, %22onPostResume%22, Toast.LENGTH_SHORT).show();%0A    %7D%0A%0A    @Override%0A    public void onBackPressed() %7B%0A        Toast.makeText(MainActivity.this, %22onBackPressed%22, Toast.LENGTH_SHORT).show();%0A        super.onBackPressed();%0A    %7D%0A%0A    @Override%0A    protected void onPause() %7B%0A        super.onPause();%0A        Toast.makeText(MainActivity.this, %22onPause%22, Toast.LENGTH_SHORT).show();%0A    %7D%0A%0A    @Override%0A    protected void onStop() %7B%0A        Toast.makeText(MainActivity.this, %22onStop%22, Toast.LENGTH_SHORT).show();%0A        super.onStop();%0A    %7D%0A%0A    @Override%0A    protected void onDestroy() %7B%0A        Toast.makeText(MainActivity.this, %22onDestroy%22, Toast.LENGTH_SHORT).show();
 %0A   

Make Toast to get notified when each method is triggered.