多层嵌套Fragment获取父Activity(Fragment)控件及方法
在fragment中加入以下代码: @Override public void onAttach(Activity activity) { super.onAttach(activity); if (activity instanceof FatherActivity) { FatherActivity fatherActivity...