导航菜单

页面标题

页面副标题

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

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

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


package com.mu.gymtrain.Widget.PicChosePackage;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.FrameLayout;
import butterknife.BindView;
import butterknife.OnClick;
import com.mu.gymtrain.Base.BaseActivity;
import com.mu.gymtrain.R;
import com.mu.gymtrain.Widget.PicChosePackage.SelectImageContract;
import com.mu.gymtrain.Widget.PicChosePackage.crop.SelectOptions;

public class SelectImageActivity extends BaseActivity implements SelectImageContract.Operator {
    private static SelectOptions mOption;

    @BindView(2131296544)
    FrameLayout flContent;
    private SelectImageContract.View mView;

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

    public void initData() {
    }

    @Override
    public void onBack() {
    }

    @Override
    public void requestCamera() {
    }

    @Override
    public void requestExternalStorage() {
    }

    public static void show(Context context, SelectOptions options) {
        mOption = options;
        context.startActivity(new Intent(context, (Class<?>) SelectImageActivity.class));
    }

    public void initView() {
        try {
            getSupportFragmentManager().beginTransaction().replace(2131296544, SelectFragment.newInstance(mOption)).commitAllowingStateLoss();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    protected void onDestroy() {
        super.onDestroy();
    }

    @Override
    public void setDataView(SelectImageContract.View view) {
        this.mView = view;
    }

    @Override
    public SelectOptions.Callback getCallback() {
        return mOption.getCallback();
    }

    @OnClick
    public void onClick(View view) {
        view.getId();
    }
}