From 6aaecaaee919274c99e3e62459b1b40906652aa4 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 06 四月 2017 15:41:16 +0800
Subject: [PATCH] 

---
 VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java
index a36314b..92506e7 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java
@@ -45,18 +45,8 @@
     @ViewInject(R.id.fragment_phone_call_left_search)
     private EditText fragment_phone_call_left_search;
 
-    public View addLeftLayout() {
-        fragment_phone_call_left = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_phone_call_left,null);
-        ViewUtils.inject(this, fragment_phone_call_left);
-        fragment_phone_call_left_list_view.setLayoutManager(new LinearLayoutManager(getActivity(),LinearLayoutManager.VERTICAL,false));
-
-        return fragment_phone_call_left;
-    }
-
-    public View addRightLayout() {
-        mViewRight = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_phone_call_right,null);
-        fragment_phone_call_right_interviewe_cell = (PhoneCallRightIntervieweeCell) mViewRight.findViewById(R.id.fragment_phone_call_right_interviewee_cell);
-        return mViewRight;
+    public int[] getLeftRightLayoutIds() {
+        return new int[]{R.layout.fragment_phone_call_left, R.layout.fragment_phone_call_right};
     }
 
     protected void initListeners() {

--
Gitblit v1.8.0