android - call methods defined in the fragments from SherlockFragmentActivity -
i using sherlockfragmentactivity 2 fragments. want call methods defined in fragments sherlockfragmentactivity.
fragment1 extends fragment{ protected void resetsettings(){ //my code } }
and activity
main extends sherlockfragmentactivity{ //here want call resetsettings() }
Comments
Post a Comment