|
|
@@ -46,6 +46,7 @@ import com.core.model.SelectCollisionTurnBean;
|
|
|
import com.core.model.SelectEmUser;
|
|
|
import com.core.model.XmppMessage;
|
|
|
import com.core.utils.helper.AvatarHelper;
|
|
|
+import com.core.widget.CustomerScrollView;
|
|
|
import com.core.widget.MyListView;
|
|
|
import com.core.xmpp.CoreService;
|
|
|
import com.core.xmpp.ListenerManager;
|
|
|
@@ -118,6 +119,7 @@ public class BBookingDetailActivity extends OABaseActivity implements View.OnCli
|
|
|
|
|
|
}
|
|
|
};
|
|
|
+ private CustomerScrollView sv_top;
|
|
|
|
|
|
@Override
|
|
|
protected void onDestroy() {
|
|
|
@@ -177,6 +179,7 @@ public class BBookingDetailActivity extends OABaseActivity implements View.OnCli
|
|
|
|
|
|
public void initView(){
|
|
|
getSupportActionBar().setTitle("商务预约");
|
|
|
+ sv_top =(CustomerScrollView)findViewById(R.id.sv_top);
|
|
|
mListDetail=(MyListView) findViewById(R.id.mListDetail);
|
|
|
rvTop = (RelativeLayout) findViewById(R.id.rv_top);
|
|
|
llLeft = (LinearLayout) findViewById(R.id.ll_left);
|
|
|
@@ -293,6 +296,8 @@ public class BBookingDetailActivity extends OABaseActivity implements View.OnCli
|
|
|
ll_bottom.setVisibility(View.GONE);
|
|
|
isMenuShuffle=false;
|
|
|
}
|
|
|
+ ll_bottom.setVisibility(View.VISIBLE);
|
|
|
+ sv_top.setVisibility(View.VISIBLE);
|
|
|
}
|
|
|
|
|
|
public void initEvent(){
|
|
|
@@ -308,6 +313,7 @@ public class BBookingDetailActivity extends OABaseActivity implements View.OnCli
|
|
|
private String companys;
|
|
|
private String bmanid;
|
|
|
public void getApiData(){
|
|
|
+ showLoading();
|
|
|
HttpClient httpClient=new HttpClient.Builder("http://113.105.74.140:8092/").build();
|
|
|
httpClient.Api()
|
|
|
.send(new HttpClient.Builder().url("user/appBusinessDetail")
|
|
|
@@ -318,6 +324,7 @@ public class BBookingDetailActivity extends OABaseActivity implements View.OnCli
|
|
|
|
|
|
@Override
|
|
|
public void onResponse(Object o) {
|
|
|
+ dimssLoading();
|
|
|
LogUtil.d("ResponseText"," onResponse o:"+o.toString());
|
|
|
//mapdetail
|
|
|
if (JSONUtil.validate(o.toString())){
|
|
|
@@ -327,6 +334,7 @@ public class BBookingDetailActivity extends OABaseActivity implements View.OnCli
|
|
|
JSONObject baseObject=baseArray.getJSONObject(0);
|
|
|
|
|
|
model= JSON.parseObject(baseObject.toJSONString(),BookingModel.class);
|
|
|
+
|
|
|
// tvTime.setText(model.getAb_starttime().substring(0,10)+" "+model.getAb_starttime().substring(11,16)
|
|
|
// +"-"+model.getAb_endtime().substring(11,16));
|
|
|
// tv_topic.setText(model.getAb_content());
|