ソースを参照

Fix nope on activity reload

Guy Carmeli 8 年 前
コミット
2723557d47
共有1 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 3
    3
      android/app/src/main/java/com/reactnativenavigation/views/CollapsingContentView.java

+ 3
- 3
android/app/src/main/java/com/reactnativenavigation/views/CollapsingContentView.java ファイルの表示

54
     }
54
     }
55
 
55
 
56
     public void destroy() {
56
     public void destroy() {
57
-        if (scrollViewDelegate != null) {
58
-            scrollViewDelegate.destroy();
59
-        }
60
         if (scrollViewDetector != null) {
57
         if (scrollViewDetector != null) {
61
             scrollViewDetector.destroy();
58
             scrollViewDetector.destroy();
62
         }
59
         }
60
+        if (scrollViewDelegate != null) {
61
+            scrollViewDelegate.destroy();
62
+        }
63
     }
63
     }
64
 
64
 
65
     @Override
65
     @Override