Browse Source

Update android-specific-use-cases.md (#1678)

Dan Reynolds 7 years ago
parent
commit
1f311717f7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      docs/android-specific-use-cases.md

+ 1
- 1
docs/android-specific-use-cases.md View File

54
 public class MyApplication extends NavigationApplication {
54
 public class MyApplication extends NavigationApplication {
55
     @Override
55
     @Override
56
     public void onCreate() {
56
     public void onCreate() {
57
-        registerActivityLifecycleCallbacks(new LifecycleCallbacks() {
57
+        registerActivityLifecycleCallbacks(new ActivityLifecycleCallbacks() {
58
             @Override
58
             @Override
59
             public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
59
             public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
60
                 activity.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
60
                 activity.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);