I am trying to bind the text of EditText
object to a local for the view variable, but probably I do not understand how.
- How could bind
EditText
object with a variable inJava
-Android 4.0.3
?
I am trying to bind the text of EditText
object to a local for the view variable, but probably I do not understand how.
EditText
object with a variable in Java
- Android 4.0.3
?You can bind EditText to the local variable of type EditText
EditText text=new EditText(this);
text=youredittex;
You can do by this:
EditText bindText=new EditText(context);
bindText=anyThingHere;