Metode Aktivitas Memanggil dari Fragmen:
((YourActivityClassName)getActivity()).yourPublicMethod();
Arrogant Angelfish
((YourActivityClassName)getActivity()).yourPublicMethod();
Intent myIntent = new Intent((ParentActivity)getActivity(), YourOtherActivity.class);
(ParentActivity)getActivity().startActivity(myIntent);
ExampleFragment fragment = (ExampleFragment) getFragmentManager().findFragmentById(R.id.example_fragment);
fragment.specific_function_name();