From 05f318fbb22ac96972e62ed2592b8a7256b0b3bb Mon Sep 17 00:00:00 2001 From: Shawn Meier Date: Wed, 27 Mar 2024 15:17:12 -0600 Subject: [PATCH] workaround for fragment lifecycle issue --- .../java/com/example/fragmentlifecycle/ArticlesFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testApps/ChatGPT_Benchmarks/EXN_fragment_lifecycle/app_bug/app/src/main/java/com/example/fragmentlifecycle/ArticlesFragment.java b/testApps/ChatGPT_Benchmarks/EXN_fragment_lifecycle/app_bug/app/src/main/java/com/example/fragmentlifecycle/ArticlesFragment.java index 62d363e2..99230311 100644 --- a/testApps/ChatGPT_Benchmarks/EXN_fragment_lifecycle/app_bug/app/src/main/java/com/example/fragmentlifecycle/ArticlesFragment.java +++ b/testApps/ChatGPT_Benchmarks/EXN_fragment_lifecycle/app_bug/app/src/main/java/com/example/fragmentlifecycle/ArticlesFragment.java @@ -11,7 +11,7 @@ public class ArticlesFragment extends Fragment { - private View rootView; + private View rootView = null; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container,