From c7f55025358cead5b4290f70109493a77fc1351e Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 27 Jan 2024 16:20:11 +0900 Subject: [PATCH] =?UTF-8?q?=E9=81=B8=E6=8A=9E=E3=81=95=E3=82=8C=E3=81=9FRe?= =?UTF-8?q?vision=E3=81=AB=E6=8E=A8=E7=A7=BB=E3=81=A7=E3=81=8D=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/component/viewer/ViewerListFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java index 6f51a995..b7499afe 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java @@ -189,6 +189,9 @@ public class ViewerListFragment extends Fragment { public void onItemSelected(String revId) { // Do something Toast.makeText(getContext(), "Selected revId: " + revId, Toast.LENGTH_SHORT).show(); + getParentFragmentManager().beginTransaction() + .replace(R.id.nav_host_fragment, ViewerListFragment.newInstance(documentId, documentName, revisionId)) + .commit(); } @Override