hello i have activity and i call many fragment based on my application business i need to call method from fragment in activity i searched in the internet but i cannot find the
Just call the method of Fragment by creating the object of it.
HomeFragment homeFragment = new HomeFragment(); homeFragment.addUserLineInfoFragment();