Answers for "calling fragment method from activity"

0

calling fragment method from activity

ExampleFragment fragment = (ExampleFragment) getFragmentManager().findFragmentById(R.id.example_fragment); 
fragment.specific_function_name();
Posted by: Guest on June-03-2021

Code answers related to "calling fragment method from activity"

Browse Popular Code Answers by Language