Skip to content

Commit

Permalink
1 context对象上传
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaMuYao committed Apr 9, 2018
1 parent 0682896 commit 4e03407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.xiamuyao.repidmvclibrary.base;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
Expand All @@ -18,11 +19,12 @@
*/
public abstract class BaseFragment extends Fragment {


public Context mContext;

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
mContext = getContext();
return inflater.inflate(getLayout(), container, false);
}

Expand Down

0 comments on commit 4e03407

Please sign in to comment.