Blame view

C5/app/src/main/java/com/sunvote/xpadapp/fragments/ShowIdFragment.java 795 Bytes
fac86401   孙向锦   初始化C5 Vote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  package com.sunvote.xpadapp.fragments;
  
  import com.sunvote.util.LogUtil;
  import com.sunvote.xpadapp.R;
  import com.sunvote.xpadapp.base.SuperBaseFragment;
  
  import android.os.Bundle;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.TextView;
  
  public class ShowIdFragment extends SuperBaseFragment {
  	
  
  	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
  		LogUtil.d("ShowIdFragment", "onCreateView");
  		View view = inflater.inflate(R.layout.fragment_show_id, container, false);
  		
  		TextView  tvId = (TextView) view.findViewById(R.id.fragment_show_id_title);
  		if(mMainActivity.mOnlineInfo!=null ){
  			tvId.setText(""+ mMainActivity.mOnlineInfo.keyId);
  		}
  		
  		return view;
  	}
  	
  }