在android 4.1系统中施用Editor控件的时候为什么获得不了Text属性

在android 4.1系统中使用Editor控件的时候为什么获得不了Text属性在android 4.1系统中使用Editor控件的时

在android 4.1系统中使用Editor控件的时候为什么获得不了Text属性
在android 4.1系统中使用Editor控件的时候 为什么获得不了Text属性

Java code
public void onCreate(Bundle savedInstanceState) {        super.onCreate(savedInstanceState);        setContentView(R.layout.activity_testv_iewmain);        editor=(Editor)findViewById(R.id.editText1);        editor.getText();             }


[解决办法]
没用过Editor,只用过EditText的路过一下