Thanks mahn. I'm happy I was able to implement that in my app
@akshaymanoj2967 Жыл бұрын
Thank you for this man saved me !!
@vixiloc Жыл бұрын
Thank you this is very very good video
@АльфредАхметгалеев11 ай бұрын
Hello! Why did you close the project?
@ЮрийАфонский-х2ф Жыл бұрын
if in dialog i have textfield. how can i pass the text entered by user into viewmodel.someMethod(text)?
@kapps7407 Жыл бұрын
Use a lamb function. You invoke it inside the dialog and process it inside the screen where you have reference to your ViewModel.
@yaroslavlutsenko4134 Жыл бұрын
Thank you! Now I know usePlatformDefaultWidth due to this video. One question please: is it possible to change overlay? I want to make it red with alpha 0.8F
@kapps7407 Жыл бұрын
Do you mean the dark background around the dialog ?
@yaroslavlutsenko4134 Жыл бұрын
@@kapps7407 Yes)
@kapps7407 Жыл бұрын
As far as I know there is no native solution for that. You need to provide a work around for example make the Dialog or a screencomposable fill max size of your screen with desired 0.8 Alpha background and then only use a card in the center for your actual content
@yaroslavlutsenko4134 Жыл бұрын
@@kapps7407 it's a good idea! Thank you, will try this solution
@Akshaykumar-xr9yj2 жыл бұрын
Thank u brother
@LuisFernandez-rz9ty Жыл бұрын
Excelente información
@jopadjr Жыл бұрын
43rd...Thanks
@j2shoes288 Жыл бұрын
android compose development is a joke, AlertDialog, renders totally different on different devices? to the point that it would be flagged as a bug!