导航菜单

页面标题

页面副标题

自健身 v3.3.4 - TeamActivity.java 源代码

正在查看: 自健身 v3.3.4 应用的 TeamActivity.java JAVA 源代码文件

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


package com.mu.gymtrain.Activity;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.OnClick;
import com.mu.gymtrain.Base.BaseActivity;
import com.mu.gymtrain.R;

public class TeamActivity extends BaseActivity {
    private int ACCOUNT_MAIN_CODE = 12;

    @BindView(R.id.iconMsg)
    ImageView mIconMsg;

    @BindView(2131297022)
    RecyclerView mRecyclerView;

    @BindView(R.id.title_middle)
    TextView mTitleMiddle;

    @BindView(R.id.tvFamilyAccount)
    TextView tvFamilyAccount;

    public int getContentLayout() {
        return R.layout.activity_team_layout;
    }

    public void initData() {
    }

    public void initView() {
        this.mTitleMiddle.setText("团队福利");
    }

    @OnClick({R.id.title_left, R.id.tvFitnessPartner, R.id.imgRight4, R.id.imgRight3, R.id.tvFriendMsg, R.id.imgRight, R.id.tvFamilyAccount, R.id.imgRight2})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.imgRight2:
            case R.id.tvFamilyAccount:
                startActivity(new Intent((Context) this, (Class<?>) FamilyAccountProtocolActivity.class));
                break;
            case R.id.imgRight3:
            case R.id.tvFitnessPartner:
                startActivity(new Intent((Context) this, (Class<?>) PartnerListActivity.class));
                break;
            case R.id.imgRight4:
                Intent intent = new Intent((Context) this, (Class<?>) FriendsListActivity.class);
                intent.putExtra("from", "partner");
                startActivity(intent);
                break;
            case R.id.title_left:
                finish();
                break;
            case R.id.tvFriendMsg:
                startActivity(new Intent((Context) this, (Class<?>) TeamMessageActivity.class));
                break;
        }
    }
}