How to make Button within fragment close current and open another fragment in Kotlin
I need to create 2 fragments and 2 button in first fragment one which will close current fragment and start another, and second which will close app at all, what i'm doing wrong(each fragment in different holders)?
First fragment opens well, but when i click on buttons in first activity, they don't working at all.
How can i write this rightway?
class MainActivity :...