From f4c46fbd5db6c40318f47933bc259dd778f44c21 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 20 Jan 2024 15:40:52 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=82=A4=E3=83=86=E3=83=A0=E3=82=92?= =?UTF-8?q?=E3=82=BF=E3=83=83=E3=83=81=E3=81=97=E3=81=9F=E3=82=89=E7=94=BB?= =?UTF-8?q?=E9=9D=A2=E6=8E=A8=E7=A7=BB=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/one/nem/lacerta/setting/ListItemAdapter.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/feature/setting/src/main/java/one/nem/lacerta/setting/ListItemAdapter.java b/feature/setting/src/main/java/one/nem/lacerta/setting/ListItemAdapter.java index d14be50c..f3ffa79e 100644 --- a/feature/setting/src/main/java/one/nem/lacerta/setting/ListItemAdapter.java +++ b/feature/setting/src/main/java/one/nem/lacerta/setting/ListItemAdapter.java @@ -7,6 +7,7 @@ import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.navigation.Navigation; import androidx.recyclerview.widget.RecyclerView; import java.util.ArrayList; @@ -35,6 +36,10 @@ public class ListItemAdapter extends RecyclerView.Adapter { + Navigation.findNavController(v).navigate(listItem.getDestination()); + }); } @Override