Call a method on a fragment from an activity.