Skip to content Skip to sidebar Skip to footer

In Navigation Drawer, How To Refresh Title And Drawerlist When Calling Fragment From Fragment?

I have a dumb question that I'm using navigation drawer for my android app. so everything works well so far. But now I need to call another fragment from a fragment. I can successf

Solution 1:

Actually I found the answer myself. I can call parentActivity function from fragment by using:

((ParentActivityClassName)getActivity()).parentPublicMethod();

Post a Comment for "In Navigation Drawer, How To Refresh Title And Drawerlist When Calling Fragment From Fragment?"