Blame view

C5/app/src/main/java/com/sunvote/xpadapp/fragments/CommunicationTestFragment.java 747 Bytes
fac86401   孙向锦   初始化C5 Vote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  package com.sunvote.xpadapp.fragments;
  
  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 CommunicationTestFragment extends SuperBaseFragment {
  	public byte[] data;
  	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
  		View view = inflater.inflate(R.layout.fragment_admin, container, false);
  		TextView tvResutl = (TextView)view.findViewById(R.id.comm_test_tv_result);
  		tvResutl.setText(getString(R.string.communication_test)+data[0]+"  "+ data[1] +"  "+ data[2] +"  "+ data[3]);
  		return view;
  	}
  }