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
5条回答 情话喂你 (楼主) 2021-01-14 10:42 From the fragment call your activity's method ((MyActivity ) getActivity()).getClassX() ; 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 自定义标题段落格式字体字号代码语言点击上传x 验证码 看不清? 提交回复
From the fragment call your activity's method
((MyActivity ) getActivity()).getClassX() ;
热议问题