I am doing task in which I need to show a dialog after clicking on EditText
. In that dialog I show contents with RadioButton
s using RecyclerView
.
Now, what I want to do is, after selecting RadioButton (content which is in the RecyclerView) from dialog, it should return value of that content and then dialog should be dismissed.
To generate a dialog I've used a DialogFragment
.
As I'm new in android development, I am totally confused and unable to find the solution.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…