When I try to use .show(supportFragmentManager , supportFragmentManager is underlined red, I'm not sure what .show() to use that would find it please ?
I agree with you that dark theme is better for the eyes, but not for tutorials because many of my viewers are watching the tutorials on smart phones which makes it a bit difficult to watch.
Hi guys I am new to android so my question is probably stupid but how is he able to access ids from the view as if they were properties of the View. Don't you usually use view.findViewById ?
You need an interface to pass data from one fragment to another fragment or activity. I have a video explaining fragment communication. Let me know if you need further help!
spent a whole night trying to figure out something so simple. Thank you. for real. My stressed out body is in debt towards you
I can't do what you do in min 07:43; the rootView is not allowing me to access the layout widgets, is there another way to do that?
same here
@@richard_orc same idk wtf i am doing wrong
var a = rootView.findViewById(R.id.cancel)
a.setOnClickListener{
Log.e("cancel", "cancel")
}
var textViewPackName: TextView = rootView.findViewById(R.id.textViewPackName2)
textViewPackName.text = "mo"
All good until you just toast the result... how do you pass the selected value back to the calling activity?
I love these a lot, please keep going. Your work is immensely helpful, also it's really appreciated
I am happy that you liked it!
6:12 this doesn't work for me.
It doesn't seem to find rateMeTextView
Weź się naucz pisać kody
Same problem
@@wadowickiecentrumfilmowe9182 🤡🤡🤡
When I try to use .show(supportFragmentManager , supportFragmentManager is underlined red, I'm not sure what .show() to use that would find it please ?
Solution: change "supportFragmentManager" to "childFragmentManager"
This has been helpful in helping me fix one error but now I'm having an issue with using the supportFragmentManager.
Solution: change "supportFragmentManager" to "childFragmentManager"
Just one feedback, Please change your android studio to use the dark theme instead, you'll protect your eyes
I agree with you that dark theme is better for the eyes, but not for tutorials because many of my viewers are watching the tutorials on smart phones which makes it a bit difficult to watch.
You are a life saver
great tutorial bro.. question, is any way to pass the string for a textView programmatically to the dialog ?
The width of my dialog view automatically set the wrap content when showing the dialog. Do you know how to fix it?
android:minWidth="370dp". add this in your layout. you can change the minWidth as needed
Hi guys I am new to android so my question is probably stupid but how is he able to access ids from the view as if they were properties of the View. Don't you usually use view.findViewById ?
he uses extensions,but it is also depracated.nowadays
how can I put setOnDismissListener to this dialog fragment over on the main fragment or activity?
easy way to understanding custom fragment dialog👍
Thanks man, nice video!
Thanks brother. It was a nice tutorial.
nice!!! always straight to the point
Thank you! Glad you liked it!
great vid, subscribed!
Tnk, Helped me very much, this documentation the android developer is very cofuse
Great work buddy
Glad that you liked it!!
@@CodeWithMazn keep it up this great work.
Thanks friend. It's a nice and clear video.
Thanks for you tutorial!
Thank you this helped me alot
Instead of Radio Button and Radio group...can we make Dialog as another recyclerView ?
how about to go another activity using dialog fragments?
Great Work! Clear explanation and straight to the point! Thank You!
It means a lot! Much appreciate it!
Thanks a lot, you helped me
Glad to hear that
When I try to use .show(......), the "show" word s underlined red. Anyone know the solution?
For anyone still looking for this check you had imported the class for the DialogFragment or Dialog.
Hello! great Video. What if I wanted to use the Alert Dialog to open a new Activity, is that possible?
Yes, it is possible. I have a video on how to redirect to a new activity.
How do I recover the value from the activity? Pass the value to the activity
You need an interface to pass data from one fragment to another fragment or activity. I have a video explaining fragment communication. Let me know if you need further help!
Tq so much!!
Thanks brother..
You welcome! Glad that you liked it!
Nice Vid!
Thank u.
¡amazing!
rootView.cancelButton.setOnClickListener gives me an unresolved reference :(
var updateAppButton: Button = rootView.findViewById(R.id.updateAppButton)
updateAppButton.setOnClickListener {
dismiss()
}
@@loss_ You are the real MVP. Thank you very much. I already gave up. Now I can continue to code.