package com.usai.redant.CommonEditor.CommonEditor;

import android.content.Context;
import android.graphics.Color;
import android.text.Editable;
import android.text.TextWatcher;
import android.text.method.TextKeyListener;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.widget.EditText;
import android.widget.TextView;


import com.usai.redant.redantmobile.R;

import org.json.JSONObject;

import static android.view.Gravity.CENTER_VERTICAL;
import static android.view.Gravity.END;
import static android.view.Gravity.START;

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

public class CommonEditorTextViewCellHolder extends CommonEditorCellHolder {

    public TextView title_lb;
    public EditText text_view;
    public CommonEditorTextViewCellHolder(Context context, View view) {
        super(context, view);

        title_lb = (TextView) view.findViewById(R.id.name_lb);
        text_view = (EditText) view.findViewById(R.id.text_view);
    }

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


    }
}
