正在查看: 爱心e站 v1.0.0 应用的 SignActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 爱心e站 v1.0.0 应用的 SignActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.newheyd.JZKFcanjiren.Activity;
import android.os.Bundle;
import com.newheyd.JZKFcanjiren.BaseFragmentActiviy;
import com.newheyd.JZKFcanjiren.Bean.TabItem;
import com.newheyd.JZKFcanjiren.Fragment.RehabilitationSignFragment;
import com.newheyd.JZKFcanjiren.R;
import com.newheyd.JZKFcanjiren.Utils.StastisticUtil;
import com.newheyd.JZKFcanjiren.Utils.locationUtil.LocationAddrUtil;
import com.newheyd.JZKFcanjiren.View.TitleView;
import com.newheyd.JZKFcanjiren.model.BaseResult;
import com.newheyd.JZKFcanjiren.net.NewHYTask;
import java.util.HashMap;
public class SignActivity extends BaseFragmentActiviy {
private TitleView mTitleview;
private RehabilitationSignFragment rehabilitationEndFragment = null;
private String service = null;
@Override
protected void onCreate(Bundle savedInstanceState) {
setContentView(R.layout.activity_rehabilitation_end);
super.onCreate(savedInstanceState);
TabItem tabBaseInfo = new TabItem("1", "考勤签到", this.service);
this.rehabilitationEndFragment = RehabilitationSignFragment.newInstance(tabBaseInfo);
getSupportFragmentManager().beginTransaction().add(R.id.container, this.rehabilitationEndFragment).commitAllowingStateLoss();
goStatistics();
}
public void goStatistics() {
HashMap<String, String> map = LocationAddrUtil.getInstance().getLocationParam(this.mContext);
StastisticUtil.getInstance().onEvent(this.mContext, "SignActivity", map);
}
@Override
public void onResponseBefore(NewHYTask task) {
}
@Override
public void onResponseAfter(NewHYTask task) {
}
@Override
public void onResponseSuccessful(NewHYTask task, BaseResult object) {
}
@Override
public void onResponseError(NewHYTask task, BaseResult object) {
}
@Override
public void onServerError(NewHYTask task, int failedType) {
}
@Override
public void getExtraParam() {
this.service = getIntent().getStringExtra("service");
}
@Override
public void initViews() {
this.mTitleview = (TitleView) findViewById(R.id.titleview);
}
@Override
public void setListener() {
this.mTitleview.setOnTitleClik(new TitleView.BackListenner() {
@Override
public void BackSet() {
SignActivity.this.finish();
}
}, null);
this.mTitleview.setTextName("考勤签到");
}
}