i have a problem. i want to show my EditFragment when item clicked, but it keep going to my EditFragment instead of showing Dialog
this is the code
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
val type = list[position]
holder.binding.tvTitle.text = type.title
holder.binding.tvIsiNotes.text = type.content
holder.itemView.setOnClickListener{
holder.itemView.findNavController().navigate(HomeFragmentDirections.actionHomeFragmentToEditFragment(type))
}