Trying to pass a string from an activity to a fragment when login is successful (Kotlin)
I'm developing an android app with Kotlin and I need some help. So I made a login and register in firebase, and in the register activity (contains both the register and login) created a method to open the main menu and pass a string to a fragment if the login or register is successful. If the user authenticates correctly it does bring them to the main menu, so that part works. But when I try to pass a string in a bundle to my fragment and showing it in its text view it doesn't work. There are...