Posts by Julian Alberto • 116 points
1 post
-
0
votes1
answer140
viewsA: How to call in Fragment a component and its Activity properties?
You can call your Activity method from within Fragment using: ((SuaActivity)getActivity()).seuMetodoPublico(); If you have problems with cast of Activity, you can use: Activity activity =…