SyntaxFix
Write A Post
Hire A Developer
Questions
You should create a function inside activity to open new fragment and pass the activity reference to the fragment and on some event inside fragment call this function.