Skip to content

Instantly share code, notes, and snippets.

@Mustufa786
Created October 22, 2019 10:24
Show Gist options
  • Save Mustufa786/cf42f0295a958e7a21ae0c8461d26aa1 to your computer and use it in GitHub Desktop.
Save Mustufa786/cf42f0295a958e7a21ae0c8461d26aa1 to your computer and use it in GitHub Desktop.
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Timber.d("onCreate Called");
}
@Override
protected void onResume() {
super.onResume();
Timber.d("OnResume Called");
}
@Override
protected void onPause() {
super.onPause();
Timber.d("onPause Called");
}
@Override
protected void onStart() {
super.onStart();
Timber.d("onStart Called");
}
@Override
protected void onStop() {
super.onStop();
Timber.d("onStop Called");
}
@Override
protected void onDestroy() {
super.onDestroy();
Timber.d("onDestroy called");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment