package com.usai.redant.CommonEditor.CommonEditor;

import android.content.Context;
import android.view.View;
import android.widget.Switch;
import android.widget.TextView;


import com.usai.redant.redantmobile.R;

import org.json.JSONObject;

/**
 * Created by macmini1 on 2017/8/16.
 */

public class CommonEditorSwitchCellHolder extends CommonEditorCellHolder {

    public TextView title_lb;
    public Switch aSwitch;

    public CommonEditorSwitchCellHolder(Context context, View view) {
        super(context, view);
        title_lb = (TextView) view.findViewById(R.id.switch_title_lb);
        aSwitch = (Switch) view.findViewById(R.id.switch_cell_switch);
    }

    @Override
    public void setItem(JSONObject item_json, boolean readonly, View view) {
        super.setItem(item_json, readonly, view);
    }
}
