hope you are in good health would not take much time. I am working on windows 10 x64 i am making a login/logup page with firebase in flamingo 2022.2.1 Patch 2 , but the tutorial im followiing is using java in a section to which I named as Register(have uploaded its picture) if anyone could help me finding a right tutorial or can tell me how can i translate the code in kotlin. what i hv strive is mentioned in the next section thanks very much
i have tried using online converter but can't trust it coz maybe it has some flaws. i have tried finding video tutorial on flamingo but cant find much, maybe i have to search more


Converting .java file to kotlin (.kt) file ( I am using Android Studio Flamingo )
Code Snippet: