标签:
public abstract class BaseFragment extends Fragment { protected FragmentActivity mActivity; @Override public void onAttach(Activity activity) { super.onAttach(activity); mActivity = (FragmentActivity) activity; } }
fragment集成basefragment
标签:
原文地址:http://www.cnblogs.com/leiqun123/p/4645704.html