I\'m dealing with fragments. I have an Activity and different fragments. Each fragment need the access to a Class(call i
Activity
fragments
fragment
Class(call i
From the fragment call your activity's method
((MyActivity ) getActivity()).getClassX() ;