How can I display a custom MaterialAlertDialog in a RecyclerView that is in a Fragment?
I created a RecyclerView with a PopupMenu in a Fragment, when you click in “Editar” i wanted to display a MaterialAlertDialog with an EditText to edit a text, but I can’t because everytime I tried the Logcat showed me an error. Here’s the code where the MaterialAlertDialog appears: