You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
implement Activity.onPostCreate() and onPostResume()
These are used by androidx to handle the Fragment lifecycle
This commit is contained in:
@@ -148,6 +148,11 @@ public class Activity extends ContextThemeWrapper implements Window.Callback {
|
||||
return;
|
||||
}
|
||||
|
||||
protected void onPostCreate(Bundle savedInstanceState) {
|
||||
System.out.println("- onPostCreate - yay!");
|
||||
return;
|
||||
}
|
||||
|
||||
protected void onStart() {
|
||||
System.out.println("- onStart - yay!");
|
||||
if (window.contentView != null)
|
||||
@@ -177,6 +182,11 @@ public class Activity extends ContextThemeWrapper implements Window.Callback {
|
||||
return;
|
||||
}
|
||||
|
||||
protected void onPostResume() {
|
||||
System.out.println("- onPostResume - yay!");
|
||||
return;
|
||||
}
|
||||
|
||||
protected void onPause() {
|
||||
System.out.println("- onPause - yay!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user