From c44fd3ae8bcca89ba5f5c9d660a7a2a6eb3d607d Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 29 Jan 2024 02:40:55 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"Adapter=E3=82=92=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=82=BF=E3=83=B3=E3=82=B9=E5=A4=89=E6=95=B0=E3=81=AB?= =?UTF-8?q?=E6=8C=81=E3=81=9F=E3=81=9B=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1a2cf77f62d540183324df1009c73e30466680ab. --- .../nem/lacerta/component/viewer/ViewerContainerFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java index 5c3a67a8..7054fe87 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java @@ -57,6 +57,7 @@ public class ViewerContainerFragment extends Fragment { private String documentId; private String documentName; private boolean hasCombined = false; + private ViewerViewPagerAdapter viewerViewPagerAdapter; public ViewerContainerFragment() { // Required empty public constructor @@ -107,7 +108,7 @@ public class ViewerContainerFragment extends Fragment { ViewPager2 viewPager = view.findViewById(R.id.view_pager); // Init view pager adapter - ViewerViewPagerAdapter viewerViewPagerAdapter = new ViewerViewPagerAdapter(requireActivity()); + this.viewerViewPagerAdapter = new ViewerViewPagerAdapter(requireActivity()); viewPager.setAdapter(viewerViewPagerAdapter); // Init tab layout