导航菜单

页面标题

页面副标题

爱心e站 v1.0.0 - ActivityRehabilitation.java 源代码

正在查看: 爱心e站 v1.0.0 应用的 ActivityRehabilitation.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.newheyd.JZKFcanjiren.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.newheyd.JZKFcanjiren.BaseActivity;
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 ActivityRehabilitation extends BaseActivity implements View.OnClickListener {
    private TitleView mTitleviewService;
    private Button mTvRehabilitation;
    private Button mTvTrain;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_rehabilitation);
        super.onCreate(savedInstanceState);
        goStatistics();
    }

    public void goStatistics() {
        HashMap<String, String> map = LocationAddrUtil.getInstance().getLocationParam(this.mContext);
        StastisticUtil.getInstance().onEvent(this.mContext, "ActivityRehabilitation", 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 initViews() {
        this.mTitleviewService = (TitleView) findViewById(R.id.titleview_service);
        this.mTvRehabilitation = (Button) findViewById(R.id.tv_rehabilitation);
        this.mTvTrain = (Button) findViewById(R.id.tv_train);
    }

    @Override
    public void setListener() {
        this.mTvRehabilitation.setOnClickListener(this);
        this.mTvTrain.setOnClickListener(this);
        this.mTitleviewService.setOnTitleClik(new TitleView.BackListenner() {
            @Override
            public void BackSet() {
                ActivityRehabilitation.this.finish();
            }
        }, null);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.tv_rehabilitation:
                Intent i = new Intent(this.mContext, (Class<?>) AssistiveMatchingApplyListActivity.class);
                startActivity(i);
                break;
        }
    }
}